Interface IMetricSample

Represents a single metric sample.

Namespace: PushTechnology.ClientInterface.Client.Features.Metrics
Assembly: Diffusion.Client.dll
Syntax
public interface IMetricSample
Remarks

Since 6.10.

Properties

LabelNames

The list of label names for the metric sample. The nth label name corresponds to the nth label value.

Declaration
List<string> LabelNames { get; }
Property Value
Type Description
List<System.String>

The list of label names.

LabelValues

The list of label values for the metric sample. The nth label value corresponds to the nth label name.

Declaration
List<string> LabelValues { get; }
Property Value
Type Description
List<System.String>

The list of label values.

Name

The name of the metric sample.

Declaration
string Name { get; }
Property Value
Type Description
System.String

The name of the metric sample.

Timestamp

The timestamp for the metric sample.

Declaration
long? Timestamp { get; }
Property Value
Type Description
System.Nullable<System.Int64>

The timestamp if present, otherwise null.

Value

The value of the metric sample.

Declaration
double Value { get; }
Property Value
Type Description
System.Double

The value of the metric sample.

Back to top