Class MetricLabel
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
MetricLabel(string, double)
Creates a label instance with double value
public MetricLabel(string name, double value)
Parameters
MetricLabel(string, int)
Creates a label instance with int value
public MetricLabel(string name, int value)
Parameters
MetricLabel(string, long)
Creates a label instance with long value
public MetricLabel(string name, long value)
Parameters
MetricLabel(string, float)
Creates a label instance with float value
public MetricLabel(string name, float value)
Parameters
MetricLabel(string, string)
Creates a label instance with string value
public MetricLabel(string name, string value)
Parameters
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
FloatValue
Float value of the label
public float? FloatValue { get; }
Property Value
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
StringValue
String value of the label.
public string StringValue { get; }