Class AutoValue_ImmutableDoubleExemplarData
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.internal.data.ImmutableDoubleExemplarData
-
- io.opentelemetry.sdk.metrics.internal.data.AutoValue_ImmutableDoubleExemplarData
-
- All Implemented Interfaces:
DoubleExemplarData
,ExemplarData
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_ImmutableDoubleExemplarData extends ImmutableDoubleExemplarData
-
-
Field Summary
Fields Modifier and Type Field Description private long
epochNanos
private Attributes
filteredAttributes
private SpanContext
spanContext
private double
value
-
Constructor Summary
Constructors Constructor Description AutoValue_ImmutableDoubleExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, double value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
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.double
getValue()
Numerical value of the measurement that was recorded.int
hashCode()
java.lang.String
toString()
-
Methods inherited from class io.opentelemetry.sdk.metrics.internal.data.ImmutableDoubleExemplarData
create
-
-
-
-
Field Detail
-
filteredAttributes
private final Attributes filteredAttributes
-
epochNanos
private final long epochNanos
-
spanContext
private final SpanContext spanContext
-
value
private final double value
-
-
Constructor Detail
-
AutoValue_ImmutableDoubleExemplarData
AutoValue_ImmutableDoubleExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, double value)
-
-
Method Detail
-
getFilteredAttributes
public Attributes 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
public SpanContext 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 double getValue()
Description copied from interface:DoubleExemplarData
Numerical value of the measurement that was recorded.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-