@Immutable public abstract static class Distribution.Exemplar extends Object
| Modifier and Type | Method and Description |
|---|---|
static Distribution.Exemplar |
create(double value,
Timestamp timestamp,
Map<String,String> attachments)
Creates an
Distribution.Exemplar. |
abstract Map<String,String> |
getAttachments()
Returns the contextual information about the example value, represented as a string map.
|
abstract Timestamp |
getTimestamp()
Returns the time that this
Distribution.Exemplar's value was recorded. |
abstract double |
getValue()
Returns value of the
Distribution.Exemplar point. |
public abstract double getValue()
Distribution.Exemplar point.Exemplar point.public abstract Timestamp getTimestamp()
Distribution.Exemplar's value was recorded.Exemplar's value was recorded.public abstract Map<String,String> getAttachments()
public static Distribution.Exemplar create(double value, Timestamp timestamp, Map<String,String> attachments)
Distribution.Exemplar.value - value of the Distribution.Exemplar point.timestamp - the time that this Exemplar's value was recorded.attachments - the contextual information about the example value.Exemplar.