Table of Contents

Interface IMetricLabel

Namespace
Homa.Sdk.Metrics
Assembly
Homa.Sdk.Metrics.Abstractions.dll

Represents a label which can be assigned to a metric data point. Only one of the values must be set to a not-null value. If none is set, the label might be considered invalid.

public interface IMetricLabel

Remarks

While the abstraction provides MetricLabel implementation, this interface can be used to define domain-specific types for labels.

Properties

BoolValue

Bool value of the label

bool? BoolValue { get; }

Property Value

bool?

DoubleValue

Double value of the label

double? DoubleValue { get; }

Property Value

double?

FloatValue

Float value of the label

float? FloatValue { get; }

Property Value

float?

IntValue

Int value of the label

int? IntValue { get; }

Property Value

int?

LongValue

Long value of the label

long? LongValue { get; }

Property Value

long?

Name

Name of the label.

string Name { get; }

Property Value

string

StringValue

String value of the label.

string StringValue { get; }

Property Value

string