Class ImmutableLongExemplarData
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.internal.data.ImmutableLongExemplarData
-
- All Implemented Interfaces:
ExemplarData
,LongExemplarData
- Direct Known Subclasses:
AutoValue_ImmutableLongExemplarData
@Immutable public abstract class ImmutableLongExemplarData extends java.lang.Object implements LongExemplarData
AnExemplarData
withlong
measurements.This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
-
Constructor Summary
Constructors Constructor Description ImmutableLongExemplarData()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LongExemplarData
create(Attributes filteredAttributes, long recordTimeNanos, SpanContext spanContext, long value)
Construct a new exemplar.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.opentelemetry.sdk.metrics.data.ExemplarData
getEpochNanos, getFilteredAttributes, getSpanContext
-
Methods inherited from interface io.opentelemetry.sdk.metrics.data.LongExemplarData
getValue
-
-
-
-
Method Detail
-
create
public static LongExemplarData create(Attributes filteredAttributes, long recordTimeNanos, SpanContext spanContext, long value)
Construct a new exemplar.- Parameters:
filteredAttributes
- The set ofAttributes
not already associated with thePointData
.recordTimeNanos
- The time when the sample qas recorded in nanoseconds.spanContext
- The associated span context.value
- The value recorded.
-
-