Table of Contents

Class MetricLabel

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

Represents a default implementation of metric label.

public class MetricLabel : IMetricLabel
Inheritance
MetricLabel
Implements
Inherited Members

Remarks

This class is not serializable and should not be serialized.

Constructors

MetricLabel(string, bool)

Creates a label instance with bool value

public MetricLabel(string name, bool value)

Parameters

name string
value bool

MetricLabel(string, double)

Creates a label instance with double value

public MetricLabel(string name, double value)

Parameters

name string
value double

MetricLabel(string, int)

Creates a label instance with int value

public MetricLabel(string name, int value)

Parameters

name string
value int

MetricLabel(string, long)

Creates a label instance with long value

public MetricLabel(string name, long value)

Parameters

name string
value long

MetricLabel(string, float)

Creates a label instance with float value

public MetricLabel(string name, float value)

Parameters

name string
value float

MetricLabel(string, string)

Creates a label instance with string value

public MetricLabel(string name, string value)

Parameters

name string
value string

Properties

BoolValue

Bool value of the label

public bool? BoolValue { get; }

Property Value

bool?

DoubleValue

Double value of the label

public double? DoubleValue { get; }

Property Value

double?

FloatValue

Float value of the label

public float? FloatValue { get; }

Property Value

float?

IntValue

Int value of the label

public int? IntValue { get; }

Property Value

int?

LongValue

Long value of the label

public long? LongValue { get; }

Property Value

long?

Name

Name of the label.

public string Name { get; }

Property Value

string

StringValue

String value of the label.

public string StringValue { get; }

Property Value

string