Interface ExemplarData
-
- All Known Subinterfaces:
DoubleExemplarData
,LongExemplarData
- All Known Implementing Classes:
AutoValue_ImmutableDoubleExemplarData
,AutoValue_ImmutableLongExemplarData
,ImmutableDoubleExemplarData
,ImmutableLongExemplarData
@Immutable public interface ExemplarData
An example measurement.Provides details about a measurement that are normally aggregated away, including the measurement value, the measurement timestamp, and additional attributes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getEpochNanos()
Returns the timestamp in nanos when measurement was collected.Attributes
getFilteredAttributes()
Returns the attributes that were recorded alongside the original measurement but filtered out by the aggregator.SpanContext
getSpanContext()
Returns theSpanContext
associated with this exemplar.
-
-
-
Method Detail
-
getFilteredAttributes
Attributes getFilteredAttributes()
Returns the attributes that were recorded alongside the original measurement but filtered out by the aggregator.
-
getEpochNanos
long getEpochNanos()
Returns the timestamp in nanos when measurement was collected.
-
getSpanContext
SpanContext getSpanContext()
Returns theSpanContext
associated with this exemplar. If the exemplar was not recorded inside a sampled trace, theSpanContext
will be invalid.
-
-