Class AutoValue_ImmutableLongExemplarData
java.lang.Object
io.opentelemetry.sdk.metrics.internal.data.ImmutableLongExemplarData
io.opentelemetry.sdk.metrics.internal.data.AutoValue_ImmutableLongExemplarData
- All Implemented Interfaces:
ExemplarData
,LongExemplarData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final long
private final Attributes
private final SpanContext
private final long
-
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_ImmutableLongExemplarData
(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, long value) -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
Returns the timestamp in nanos when measurement was collected.Returns the attributes that were recorded alongside the original measurement but filtered out by the aggregator.Returns theSpanContext
associated with this exemplar.long
getValue()
Numerical value of the measurement that was recorded.int
hashCode()
toString()
Methods inherited from class io.opentelemetry.sdk.metrics.internal.data.ImmutableLongExemplarData
create
-
Field Details
-
filteredAttributes
-
epochNanos
private final long epochNanos -
spanContext
-
value
private final long value
-
-
Constructor Details
-
AutoValue_ImmutableLongExemplarData
AutoValue_ImmutableLongExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, long value)
-
-
Method Details
-
getFilteredAttributes
Description copied from interface:ExemplarData
Returns the attributes that were recorded alongside the original measurement but filtered out by the aggregator. -
getEpochNanos
public long getEpochNanos()Description copied from interface:ExemplarData
Returns the timestamp in nanos when measurement was collected. -
getSpanContext
Description copied from interface:ExemplarData
Returns theSpanContext
associated with this exemplar. If the exemplar was not recorded inside a sampled trace, theSpanContext
will be invalid. -
getValue
public long getValue()Description copied from interface:LongExemplarData
Numerical value of the measurement that was recorded. -
toString
-
equals
-
hashCode
public int hashCode()
-