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 longprivate final Attributesprivate final SpanContextprivate final long -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_ImmutableLongExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, long value) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongReturns 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 theSpanContextassociated with this exemplar.longgetValue()Numerical value of the measurement that was recorded.inthashCode()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:ExemplarDataReturns the attributes that were recorded alongside the original measurement but filtered out by the aggregator. -
getEpochNanos
public long getEpochNanos()Description copied from interface:ExemplarDataReturns the timestamp in nanos when measurement was collected. -
getSpanContext
Description copied from interface:ExemplarDataReturns theSpanContextassociated with this exemplar. If the exemplar was not recorded inside a sampled trace, theSpanContextwill be invalid. -
getValue
public long getValue()Description copied from interface:LongExemplarDataNumerical value of the measurement that was recorded. -
toString
-
equals
-
hashCode
public int hashCode()
-