Table of Contents

Interface IMetricSample

Namespace
PushTechnology.ClientInterface.Client.Features.Metrics
Assembly
Diffusion.Client.dll

Represents a single metric sample.

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.

List<string> LabelNames { get; }

Property Value

List<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.

List<string> LabelValues { get; }

Property Value

List<string>

The list of label values.

Name

The name of the metric sample.

string Name { get; }

Property Value

string

The name of the metric sample.

Timestamp

The timestamp for the metric sample.

long? Timestamp { get; }

Property Value

long?

The timestamp if present, otherwise null.

Value

The value of the metric sample.

double Value { get; }

Property Value

double

The value of the metric sample.