Class LabelValue
java.lang.Object
io.opencensus.metrics.LabelValue
The value of a
Label associated with a TimeSeries.- Since:
- 0.15
-
Method Summary
Modifier and TypeMethodDescriptionstatic LabelValueCreates aLabelValue.abstract StringgetValue()Returns the value of thisLabelValue.
-
Method Details
-
create
Creates aLabelValue.- Parameters:
value- the value of aLabel.nullvalue indicates an unsetLabelValue.- Returns:
- a
LabelValue. - Since:
- 0.17
-
getValue
Returns the value of thisLabelValue. Returnsnullif the value is unset and supposed to be ignored.- Returns:
- the value.
- Since:
- 0.17
-