Uses of Interface
io.opentelemetry.api.common.Attributes
-
Packages that use Attributes Package Description io.opentelemetry.api.common This package contains code common across the OpenTelemetry APIs, includingAttributes
and classes/utilities for interacting with them.io.opentelemetry.api.incubator.events io.opentelemetry.api.incubator.metrics io.opentelemetry.api.incubator.trace io.opentelemetry.api.logs API for writing log appenders.io.opentelemetry.api.metrics This package describes the Metrics API that can be used to record application Metrics.io.opentelemetry.api.trace API for distributed tracing.io.opentelemetry.exporter.internal Internal utilities for exporters.io.opentelemetry.exporter.internal.marshal Marshaling framework for serializing data to protobuf format.io.opentelemetry.exporter.internal.otlp Utilities for working with the OTLP format.io.opentelemetry.sdk.common Common utilities used by all SDK components.io.opentelemetry.sdk.internal Interfaces and implementations that are internal to OpenTelemetry.io.opentelemetry.sdk.logs The OpenTelemetry SDK implementation of logging.io.opentelemetry.sdk.logs.data The data format to model logs for export.io.opentelemetry.sdk.logs.export Log exporters.io.opentelemetry.sdk.logs.internal io.opentelemetry.sdk.metrics The SDK implementation of metrics.io.opentelemetry.sdk.metrics.data Classes which form the in-memory representation of the OpenTelemetry metrics data model.io.opentelemetry.sdk.metrics.internal.aggregator Metric aggregators.io.opentelemetry.sdk.metrics.internal.data The data format to model metrics for export.io.opentelemetry.sdk.metrics.internal.exemplar Metric exemplar extension points.io.opentelemetry.sdk.metrics.internal.state io.opentelemetry.sdk.metrics.internal.view View related internal classes.io.opentelemetry.sdk.resources API for resource information population.io.opentelemetry.sdk.trace The OpenTelemetry SDK implementation of tracing.io.opentelemetry.sdk.trace.data The data format to model traces for export.io.opentelemetry.sdk.trace.export Utilities that allow tracing services to export data for sampled spans, as well as providing in-process span processing APIs.io.opentelemetry.sdk.trace.samplers This package containsSampler
s for selecting traces that are recorded and exported. -
-
Uses of Attributes in io.opentelemetry.api.common
Classes in io.opentelemetry.api.common that implement Attributes Modifier and Type Class Description (package private) class
ArrayBackedAttributes
Fields in io.opentelemetry.api.common declared as Attributes Modifier and Type Field Description (package private) static Attributes
ArrayBackedAttributes. EMPTY
Methods in io.opentelemetry.api.common that return Attributes Modifier and Type Method Description Attributes
ArrayBackedAttributesBuilder. build()
Attributes
AttributesBuilder. build()
Create theAttributes
from this.static Attributes
Attributes. empty()
Returns aAttributes
instance with no attributes.static <T> Attributes
Attributes. of(AttributeKey<T> key, T value)
Returns aAttributes
instance with a single key-value pair.static <T,U>
AttributesAttributes. of(AttributeKey<T> key1, T value1, AttributeKey<U> key2, U value2)
Returns aAttributes
instance with two key-value pairs.static <T,U,V>
AttributesAttributes. of(AttributeKey<T> key1, T value1, AttributeKey<U> key2, U value2, AttributeKey<V> key3, V value3)
Returns aAttributes
instance with three key-value pairs.static <T,U,V,W>
AttributesAttributes. of(AttributeKey<T> key1, T value1, AttributeKey<U> key2, U value2, AttributeKey<V> key3, V value3, AttributeKey<W> key4, W value4)
Returns aAttributes
instance with four key-value pairs.static <T,U,V,W,X>
AttributesAttributes. of(AttributeKey<T> key1, T value1, AttributeKey<U> key2, U value2, AttributeKey<V> key3, V value3, AttributeKey<W> key4, W value4, AttributeKey<X> key5, X value5)
Returns aAttributes
instance with five key-value pairs.static <T,U,V,W,X,Y>
AttributesAttributes. of(AttributeKey<T> key1, T value1, AttributeKey<U> key2, U value2, AttributeKey<V> key3, V value3, AttributeKey<W> key4, W value4, AttributeKey<X> key5, X value5, AttributeKey<Y> key6, Y value6)
Returns aAttributes
instance with the given key-value pairs.(package private) static Attributes
ArrayBackedAttributes. sortAndFilterToAttributes(java.lang.Object... data)
Methods in io.opentelemetry.api.common with parameters of type Attributes Modifier and Type Method Description AttributesBuilder
ArrayBackedAttributesBuilder. putAll(Attributes attributes)
AttributesBuilder
AttributesBuilder. putAll(Attributes attributes)
Puts all the provided attributes into this Builder. -
Uses of Attributes in io.opentelemetry.api.incubator.events
Methods in io.opentelemetry.api.incubator.events with parameters of type Attributes Modifier and Type Method Description EventBuilder
DefaultEventLogger.NoOpEventBuilder. setAttributes(Attributes attributes)
EventBuilder
EventBuilder. setAttributes(Attributes attributes)
Set the attributes. -
Uses of Attributes in io.opentelemetry.api.incubator.metrics
Methods in io.opentelemetry.api.incubator.metrics with parameters of type Attributes Modifier and Type Method Description void
ExtendedDefaultMeter.NoopDoubleCounter. add(double value, Attributes attributes)
void
ExtendedDefaultMeter.NoopDoubleCounter. add(double value, Attributes attributes, Context context)
void
ExtendedDefaultMeter.NoopDoubleUpDownCounter. add(double value, Attributes attributes)
void
ExtendedDefaultMeter.NoopDoubleUpDownCounter. add(double value, Attributes attributes, Context context)
void
ExtendedDefaultMeter.NoopLongCounter. add(long value, Attributes attributes)
void
ExtendedDefaultMeter.NoopLongCounter. add(long value, Attributes attributes, Context context)
void
ExtendedDefaultMeter.NoopLongUpDownCounter. add(long value, Attributes attributes)
void
ExtendedDefaultMeter.NoopLongUpDownCounter. add(long value, Attributes attributes, Context context)
void
ExtendedDefaultMeter.NoopDoubleHistogram. record(double value, Attributes attributes)
void
ExtendedDefaultMeter.NoopDoubleHistogram. record(double value, Attributes attributes, Context context)
void
ExtendedDefaultMeter.NoopLongHistogram. record(long value, Attributes attributes)
void
ExtendedDefaultMeter.NoopLongHistogram. record(long value, Attributes attributes, Context context)
void
ExtendedDefaultMeter.NoopObservableDoubleMeasurement. record(double value, Attributes attributes)
void
ExtendedDefaultMeter.NoopObservableLongMeasurement. record(long value, Attributes attributes)
void
ExtendedDefaultMeter.NoopDoubleGauge. set(double value, Attributes attributes)
void
ExtendedDefaultMeter.NoopDoubleGauge. set(double value, Attributes attributes, Context context)
void
ExtendedDefaultMeter.NoopLongGauge. set(long value, Attributes attributes)
void
ExtendedDefaultMeter.NoopLongGauge. set(long value, Attributes attributes, Context context)
-
Uses of Attributes in io.opentelemetry.api.incubator.trace
Methods in io.opentelemetry.api.incubator.trace with parameters of type Attributes Modifier and Type Method Description ExtendedDefaultTracer.NoopSpanBuilder
ExtendedDefaultTracer.NoopSpanBuilder. addLink(SpanContext spanContext, Attributes attributes)
ExtendedSpanBuilder
ExtendedSpanBuilder. addLink(SpanContext spanContext, Attributes attributes)
Adds a link to the newly createdSpan
.ExtendedDefaultTracer.NoopSpanBuilder
ExtendedDefaultTracer.NoopSpanBuilder. setAllAttributes(Attributes attributes)
default ExtendedSpanBuilder
ExtendedSpanBuilder. setAllAttributes(Attributes attributes)
Sets attributes to theSpanBuilder
. -
Uses of Attributes in io.opentelemetry.api.logs
Methods in io.opentelemetry.api.logs with parameters of type Attributes Modifier and Type Method Description default LogRecordBuilder
LogRecordBuilder. setAllAttributes(Attributes attributes)
Sets attributes. -
Uses of Attributes in io.opentelemetry.api.metrics
Methods in io.opentelemetry.api.metrics with parameters of type Attributes Modifier and Type Method Description void
DefaultMeter.NoopDoubleCounter. add(double value, Attributes attributes)
void
DefaultMeter.NoopDoubleCounter. add(double value, Attributes attributes, Context context)
void
DefaultMeter.NoopDoubleUpDownCounter. add(double value, Attributes attributes)
void
DefaultMeter.NoopDoubleUpDownCounter. add(double value, Attributes attributes, Context context)
void
DefaultMeter.NoopLongCounter. add(long value, Attributes attributes)
void
DefaultMeter.NoopLongCounter. add(long value, Attributes attributes, Context context)
void
DefaultMeter.NoopLongUpDownCounter. add(long value, Attributes attributes)
void
DefaultMeter.NoopLongUpDownCounter. add(long value, Attributes attributes, Context context)
void
DoubleCounter. add(double value, Attributes attributes)
Records a value with a set of attributes.void
DoubleCounter. add(double value, Attributes attributes, Context context)
Records a value with a set of attributes.void
DoubleUpDownCounter. add(double value, Attributes attributes)
Records a value with a set of attributes.void
DoubleUpDownCounter. add(double value, Attributes attributes, Context context)
Records a value with a set of attributes.void
LongCounter. add(long value, Attributes attributes)
Records a value with a set of attributes.void
LongCounter. add(long value, Attributes attributes, Context context)
Records a value with a set of attributes.void
LongUpDownCounter. add(long value, Attributes attributes)
Record a value with a set of attributes.void
LongUpDownCounter. add(long value, Attributes attributes, Context context)
Records a value with a set of attributes.void
DefaultMeter.NoopDoubleHistogram. record(double value, Attributes attributes)
void
DefaultMeter.NoopDoubleHistogram. record(double value, Attributes attributes, Context context)
void
DefaultMeter.NoopLongHistogram. record(long value, Attributes attributes)
void
DefaultMeter.NoopLongHistogram. record(long value, Attributes attributes, Context context)
void
DefaultMeter.NoopObservableDoubleMeasurement. record(double value, Attributes attributes)
void
DefaultMeter.NoopObservableLongMeasurement. record(long value, Attributes attributes)
void
DoubleHistogram. record(double value, Attributes attributes)
Records a value with a set of attributes.void
DoubleHistogram. record(double value, Attributes attributes, Context context)
Records a value with a set of attributes.void
LongHistogram. record(long value, Attributes attributes)
Records a value with a set of attributes.void
LongHistogram. record(long value, Attributes attributes, Context context)
Records a value with a set of attributes.void
ObservableDoubleMeasurement. record(double value, Attributes attributes)
Records a measurement with a set of attributes.void
ObservableLongMeasurement. record(long value, Attributes attributes)
Records a measurement with a set of attributes.void
DefaultMeter.NoopDoubleGauge. set(double value, Attributes attributes)
void
DefaultMeter.NoopDoubleGauge. set(double value, Attributes attributes, Context context)
void
DefaultMeter.NoopLongGauge. set(long value, Attributes attributes)
void
DefaultMeter.NoopLongGauge. set(long value, Attributes attributes, Context context)
void
DoubleGauge. set(double value, Attributes attributes)
Records a value with a set of attributes.void
DoubleGauge. set(double value, Attributes attributes, Context context)
Records a value with a set of attributes.void
LongGauge. set(long value, Attributes attributes)
Records a value with a set of attributes.void
LongGauge. set(long value, Attributes attributes, Context context)
Records a value with a set of attributes. -
Uses of Attributes in io.opentelemetry.api.trace
Methods in io.opentelemetry.api.trace with parameters of type Attributes Modifier and Type Method Description Span
PropagatedSpan. addEvent(java.lang.String name, Attributes attributes)
Span
PropagatedSpan. addEvent(java.lang.String name, Attributes attributes, long timestamp, java.util.concurrent.TimeUnit unit)
Span
Span. addEvent(java.lang.String name, Attributes attributes)
Adds an event to theSpan
with the givenAttributes
.Span
Span. addEvent(java.lang.String name, Attributes attributes, long timestamp, java.util.concurrent.TimeUnit unit)
default Span
Span. addEvent(java.lang.String name, Attributes attributes, java.time.Instant timestamp)
DefaultTracer.NoopSpanBuilder
DefaultTracer.NoopSpanBuilder. addLink(SpanContext spanContext, Attributes attributes)
default Span
Span. addLink(SpanContext spanContext, Attributes attributes)
Adds a link to thisSpan
.SpanBuilder
SpanBuilder. addLink(SpanContext spanContext, Attributes attributes)
Adds a link to the newly createdSpan
.Span
PropagatedSpan. recordException(java.lang.Throwable exception, Attributes additionalAttributes)
Span
Span. recordException(java.lang.Throwable exception, Attributes additionalAttributes)
Records information about theThrowable
to theSpan
.DefaultTracer.NoopSpanBuilder
DefaultTracer.NoopSpanBuilder. setAllAttributes(Attributes attributes)
Span
PropagatedSpan. setAllAttributes(Attributes attributes)
default Span
Span. setAllAttributes(Attributes attributes)
Sets attributes to theSpan
.default SpanBuilder
SpanBuilder. setAllAttributes(Attributes attributes)
Sets attributes to theSpanBuilder
. -
Uses of Attributes in io.opentelemetry.exporter.internal
Fields in io.opentelemetry.exporter.internal declared as Attributes Modifier and Type Field Description private Attributes
ExporterMetrics. failedAttrs
private Attributes
ExporterMetrics. seenAttrs
private Attributes
ExporterMetrics. successAttrs
-
Uses of Attributes in io.opentelemetry.exporter.internal.marshal
Methods in io.opentelemetry.exporter.internal.marshal with parameters of type Attributes Modifier and Type Method Description void
Serializer. serializeRepeatedMessageWithContext(ProtoFieldInfo field, Attributes attributes, StatelessMarshaler2<AttributeKey<?>,java.lang.Object> marshaler, MarshalerContext context)
Serializesrepeated message
field.static int
StatelessMarshalerUtil. sizeRepeatedMessageWithContext(ProtoFieldInfo field, Attributes attributes, StatelessMarshaler2<AttributeKey<?>,java.lang.Object> marshaler, MarshalerContext context)
Returns the size of a repeated message field. -
Uses of Attributes in io.opentelemetry.exporter.internal.otlp
Methods in io.opentelemetry.exporter.internal.otlp with parameters of type Attributes Modifier and Type Method Description static KeyValueMarshaler[]
KeyValueMarshaler. createForAttributes(Attributes attributes)
Returns Marshalers for the given Attributes. -
Uses of Attributes in io.opentelemetry.sdk.common
Fields in io.opentelemetry.sdk.common declared as Attributes Modifier and Type Field Description private Attributes
AutoValue_InstrumentationScopeInfo. attributes
private Attributes
InstrumentationScopeInfoBuilder. attributes
Methods in io.opentelemetry.sdk.common that return Attributes Modifier and Type Method Description Attributes
AutoValue_InstrumentationScopeInfo. getAttributes()
abstract Attributes
InstrumentationScopeInfo. getAttributes()
Returns the attributes of this instrumentation scope.Methods in io.opentelemetry.sdk.common with parameters of type Attributes Modifier and Type Method Description (package private) static InstrumentationScopeInfo
InstrumentationScopeInfo. create(java.lang.String name, java.lang.String version, java.lang.String schemaUrl, Attributes attributes)
InstrumentationScopeInfoBuilder
InstrumentationScopeInfoBuilder. setAttributes(Attributes attributes)
Set the attributes.Constructors in io.opentelemetry.sdk.common with parameters of type Attributes Constructor Description AutoValue_InstrumentationScopeInfo(java.lang.String name, java.lang.String version, java.lang.String schemaUrl, Attributes attributes)
-
Uses of Attributes in io.opentelemetry.sdk.internal
Classes in io.opentelemetry.sdk.internal that implement Attributes Modifier and Type Class Description class
AttributesMap
A map with a fixed capacity that drops attributes when the map gets full, and which truncates string and array string attribute values to theAttributesMap.lengthLimit
.Methods in io.opentelemetry.sdk.internal that return Attributes Modifier and Type Method Description static Attributes
AttributeUtil. applyAttributesLimit(Attributes attributes, int countLimit, int lengthLimit)
Apply thecountLimit
andlengthLimit
to the attributes.Attributes
AttributesMap. immutableCopy()
Create an immutable copy of the attributes in this map.Methods in io.opentelemetry.sdk.internal with parameters of type Attributes Modifier and Type Method Description static Attributes
AttributeUtil. applyAttributesLimit(Attributes attributes, int countLimit, int lengthLimit)
Apply thecountLimit
andlengthLimit
to the attributes.V
ComponentRegistry. get(java.lang.String name, java.lang.String version, java.lang.String schemaUrl, Attributes attributes)
Returns the component associated with thename
,version
, andschemaUrl
. -
Uses of Attributes in io.opentelemetry.sdk.logs
Fields in io.opentelemetry.sdk.logs declared as Attributes Modifier and Type Field Description private Attributes
AutoValue_SdkLogRecordData. attributes
Methods in io.opentelemetry.sdk.logs that return Attributes Modifier and Type Method Description Attributes
AutoValue_SdkLogRecordData. getAttributes()
private Attributes
SdkReadWriteLogRecord. getImmutableAttributes()
Methods in io.opentelemetry.sdk.logs with parameters of type Attributes Modifier and Type Method Description (package private) static SdkLogRecordData
SdkLogRecordData. create(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long epochNanos, long observedEpochNanos, SpanContext spanContext, Severity severity, java.lang.String severityText, Value<?> body, Attributes attributes, int totalAttributeCount)
default ReadWriteLogRecord
ReadWriteLogRecord. setAllAttributes(Attributes attributes)
Sets attributes to theReadWriteLogRecord
.Constructors in io.opentelemetry.sdk.logs with parameters of type Attributes Constructor Description AutoValue_SdkLogRecordData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long timestampEpochNanos, long observedTimestampEpochNanos, SpanContext spanContext, Severity severity, java.lang.String severityText, Attributes attributes, int totalAttributeCount, Value<?> bodyValue)
-
Uses of Attributes in io.opentelemetry.sdk.logs.data
Methods in io.opentelemetry.sdk.logs.data that return Attributes Modifier and Type Method Description Attributes
LogRecordData. getAttributes()
Returns the attributes for this log, orempty()
if unset. -
Uses of Attributes in io.opentelemetry.sdk.logs.export
Fields in io.opentelemetry.sdk.logs.export declared as Attributes Modifier and Type Field Description private Attributes
BatchLogRecordProcessor.Worker. droppedAttrs
private Attributes
BatchLogRecordProcessor.Worker. exportedAttrs
-
Uses of Attributes in io.opentelemetry.sdk.logs.internal
Methods in io.opentelemetry.sdk.logs.internal with parameters of type Attributes Modifier and Type Method Description EventBuilder
SdkEventBuilder. setAttributes(Attributes attributes)
-
Uses of Attributes in io.opentelemetry.sdk.metrics
Methods in io.opentelemetry.sdk.metrics with parameters of type Attributes Modifier and Type Method Description void
SdkDoubleCounter. add(double increment, Attributes attributes)
void
SdkDoubleCounter. add(double increment, Attributes attributes, Context context)
void
SdkDoubleUpDownCounter. add(double increment, Attributes attributes)
void
SdkDoubleUpDownCounter. add(double increment, Attributes attributes, Context context)
void
SdkLongCounter. add(long increment, Attributes attributes)
void
SdkLongCounter. add(long increment, Attributes attributes, Context context)
void
SdkLongUpDownCounter. add(long increment, Attributes attributes)
void
SdkLongUpDownCounter. add(long increment, Attributes attributes, Context context)
void
SdkDoubleHistogram. record(double value, Attributes attributes)
void
SdkDoubleHistogram. record(double value, Attributes attributes, Context context)
void
SdkLongHistogram. record(long value, Attributes attributes)
void
SdkLongHistogram. record(long value, Attributes attributes, Context context)
void
SdkMeter.MultiWritableMetricStorage. recordDouble(double value, Attributes attributes, Context context)
void
SdkMeter.MultiWritableMetricStorage. recordLong(long value, Attributes attributes, Context context)
void
SdkDoubleGauge. set(double value, Attributes attributes)
void
SdkDoubleGauge. set(double value, Attributes attributes, Context context)
void
SdkLongGauge. set(long value, Attributes attributes)
void
SdkLongGauge. set(long value, Attributes attributes, Context context)
-
Uses of Attributes in io.opentelemetry.sdk.metrics.data
Methods in io.opentelemetry.sdk.metrics.data that return Attributes Modifier and Type Method Description Attributes
PointData. getAttributes()
Returns the attributes of the aggregation.Attributes
ExemplarData. getFilteredAttributes()
Returns the attributes that were recorded alongside the original measurement but filtered out by the aggregator. -
Uses of Attributes in io.opentelemetry.sdk.metrics.internal.aggregator
Methods in io.opentelemetry.sdk.metrics.internal.aggregator with parameters of type Attributes Modifier and Type Method Description T
AggregatorHandle. aggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, boolean reset)
Returns the current value into asAggregatorHandle
.protected abstract T
AggregatorHandle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<U> exemplars, boolean reset)
Implementation of theAggregatorHandle.aggregateThenMaybeReset(long, long, Attributes, boolean)
.protected ExponentialHistogramPointData
DoubleBase2ExponentialHistogramAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<DoubleExemplarData> exemplars, boolean reset)
protected HistogramPointData
DoubleExplicitBucketHistogramAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<DoubleExemplarData> exemplars, boolean reset)
protected DoublePointData
DoubleLastValueAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<DoubleExemplarData> exemplars, boolean reset)
protected DoublePointData
DoubleSumAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<DoubleExemplarData> exemplars, boolean reset)
protected LongPointData
LongLastValueAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<LongExemplarData> exemplars, boolean reset)
protected LongPointData
LongSumAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<LongExemplarData> exemplars, boolean reset)
void
AggregatorHandle. recordDouble(double value, Attributes attributes, Context context)
void
AggregatorHandle. recordLong(long value, Attributes attributes, Context context)
-
Uses of Attributes in io.opentelemetry.sdk.metrics.internal.data
Fields in io.opentelemetry.sdk.metrics.internal.data declared as Attributes Modifier and Type Field Description private Attributes
AutoValue_ImmutableDoublePointData. attributes
private Attributes
AutoValue_ImmutableLongPointData. attributes
private Attributes
AutoValue_ImmutableSummaryPointData. attributes
private Attributes
MutableDoublePointData. attributes
private Attributes
MutableExponentialHistogramPointData. attributes
private Attributes
MutableHistogramPointData. attributes
private Attributes
MutableLongPointData. attributes
private Attributes
AutoValue_ImmutableDoubleExemplarData. filteredAttributes
private Attributes
AutoValue_ImmutableLongExemplarData. filteredAttributes
private Attributes
AutoValue_ImmutableExponentialHistogramPointData. getAttributes
private Attributes
AutoValue_ImmutableHistogramPointData. getAttributes
Methods in io.opentelemetry.sdk.metrics.internal.data that return Attributes Modifier and Type Method Description Attributes
AutoValue_ImmutableDoublePointData. getAttributes()
Attributes
AutoValue_ImmutableExponentialHistogramPointData. getAttributes()
Attributes
AutoValue_ImmutableHistogramPointData. getAttributes()
Attributes
AutoValue_ImmutableLongPointData. getAttributes()
Attributes
AutoValue_ImmutableSummaryPointData. getAttributes()
Attributes
MutableDoublePointData. getAttributes()
Attributes
MutableExponentialHistogramPointData. getAttributes()
Attributes
MutableHistogramPointData. getAttributes()
Attributes
MutableLongPointData. getAttributes()
Attributes
AutoValue_ImmutableDoubleExemplarData. getFilteredAttributes()
Attributes
AutoValue_ImmutableLongExemplarData. getFilteredAttributes()
Methods in io.opentelemetry.sdk.metrics.internal.data with parameters of type Attributes Modifier and Type Method Description static DoubleExemplarData
ImmutableDoubleExemplarData. create(Attributes filteredAttributes, long recordTimeNanos, SpanContext spanContext, double value)
Construct a new exemplar.static DoublePointData
ImmutableDoublePointData. create(long startEpochNanos, long epochNanos, Attributes attributes, double value)
Creates aImmutableDoublePointData
.static DoublePointData
ImmutableDoublePointData. create(long startEpochNanos, long epochNanos, Attributes attributes, double value, java.util.List<DoubleExemplarData> exemplars)
Creates aImmutableDoublePointData
.static ExponentialHistogramPointData
ImmutableExponentialHistogramPointData. create(int scale, double sum, long zeroCount, boolean hasMin, double min, boolean hasMax, double max, ExponentialHistogramBuckets positiveBuckets, ExponentialHistogramBuckets negativeBuckets, long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<DoubleExemplarData> exemplars)
Create a DoubleExponentialHistogramPointData.static ImmutableHistogramPointData
ImmutableHistogramPointData. create(long startEpochNanos, long epochNanos, Attributes attributes, double sum, boolean hasMin, double min, boolean hasMax, double max, java.util.List<java.lang.Double> boundaries, java.util.List<java.lang.Long> counts)
Creates a HistogramPointData.static ImmutableHistogramPointData
ImmutableHistogramPointData. create(long startEpochNanos, long epochNanos, Attributes attributes, double sum, boolean hasMin, double min, boolean hasMax, double max, java.util.List<java.lang.Double> boundaries, java.util.List<java.lang.Long> counts, java.util.List<DoubleExemplarData> exemplars)
Creates a HistogramPointData.static LongExemplarData
ImmutableLongExemplarData. create(Attributes filteredAttributes, long recordTimeNanos, SpanContext spanContext, long value)
Construct a new exemplar.static LongPointData
ImmutableLongPointData. create(long startEpochNanos, long epochNanos, Attributes attributes, long value)
Creates aImmutableLongPointData
.static LongPointData
ImmutableLongPointData. create(long startEpochNanos, long epochNanos, Attributes attributes, long value, java.util.List<LongExemplarData> exemplars)
Creates aImmutableLongPointData
.static ImmutableSummaryPointData
ImmutableSummaryPointData. create(long startEpochNanos, long epochNanos, Attributes attributes, long count, double sum, java.util.List<ValueAtQuantile> percentileValues)
Creates aSummaryPointData
.void
MutableDoublePointData. set(long startEpochNanos, long epochNanos, Attributes attributes, double value)
Sets allMutableDoublePointData
values , besides exemplars which are set to empty.void
MutableDoublePointData. set(long startEpochNanos, long epochNanos, Attributes attributes, double value, java.util.List<DoubleExemplarData> exemplars)
Sets allMutableDoublePointData
values.ExponentialHistogramPointData
MutableExponentialHistogramPointData. set(int scale, double sum, long zeroCount, boolean hasMin, double min, boolean hasMax, double max, ExponentialHistogramBuckets positiveBuckets, ExponentialHistogramBuckets negativeBuckets, long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<DoubleExemplarData> exemplars)
MutableHistogramPointData
MutableHistogramPointData. set(long startEpochNanos, long epochNanos, Attributes attributes, double sum, boolean hasMin, double min, boolean hasMax, double max, java.util.List<java.lang.Double> boundaries, long[] counts, java.util.List<DoubleExemplarData> exemplars)
void
MutableLongPointData. set(long startEpochNanos, long epochNanos, Attributes attributes, long value)
Sets allMutableDoublePointData
values besides exemplars which are set to be empty.void
MutableLongPointData. set(long startEpochNanos, long epochNanos, Attributes attributes, long value, java.util.List<LongExemplarData> exemplars)
Sets allMutableDoublePointData
values.Constructors in io.opentelemetry.sdk.metrics.internal.data with parameters of type Attributes Constructor Description AutoValue_ImmutableDoubleExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, double value)
AutoValue_ImmutableDoublePointData(long startEpochNanos, long epochNanos, Attributes attributes, double value, java.util.List<DoubleExemplarData> exemplars)
AutoValue_ImmutableExponentialHistogramPointData(long getStartEpochNanos, long getEpochNanos, Attributes getAttributes, int getScale, double getSum, long getCount, long getZeroCount, boolean hasMin, double getMin, boolean hasMax, double getMax, ExponentialHistogramBuckets getPositiveBuckets, ExponentialHistogramBuckets getNegativeBuckets, java.util.List<DoubleExemplarData> getExemplars)
AutoValue_ImmutableHistogramPointData(long getStartEpochNanos, long getEpochNanos, Attributes getAttributes, double getSum, long getCount, boolean hasMin, double getMin, boolean hasMax, double getMax, java.util.List<java.lang.Double> getBoundaries, java.util.List<java.lang.Long> getCounts, java.util.List<DoubleExemplarData> getExemplars)
AutoValue_ImmutableLongExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, long value)
AutoValue_ImmutableLongPointData(long startEpochNanos, long epochNanos, Attributes attributes, long value, java.util.List<LongExemplarData> exemplars)
AutoValue_ImmutableSummaryPointData(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<? extends ExemplarData> exemplars, long count, double sum, java.util.List<ValueAtQuantile> values)
-
Uses of Attributes in io.opentelemetry.sdk.metrics.internal.exemplar
Fields in io.opentelemetry.sdk.metrics.internal.exemplar declared as Attributes Modifier and Type Field Description private Attributes
ReservoirCell. attributes
Fields in io.opentelemetry.sdk.metrics.internal.exemplar with type parameters of type Attributes Modifier and Type Field Description private java.util.function.BiFunction<ReservoirCell,Attributes,T>
FixedSizeExemplarReservoir. mapAndResetCell
Methods in io.opentelemetry.sdk.metrics.internal.exemplar that return Attributes Modifier and Type Method Description private static Attributes
ReservoirCell. filtered(Attributes original, Attributes metricPoint)
Returns filtered attributes for exemplars.Methods in io.opentelemetry.sdk.metrics.internal.exemplar with parameters of type Attributes Modifier and Type Method Description java.util.List<T>
ExemplarReservoir. collectAndReset(Attributes pointAttributes)
Returns an immutable list of Exemplars for exporting from the current reservoir.java.util.List<T>
FilteredExemplarReservoir. collectAndReset(Attributes pointAttributes)
java.util.List<T>
FixedSizeExemplarReservoir. collectAndReset(Attributes pointAttributes)
java.util.List<T>
LongToDoubleExemplarReservoir. collectAndReset(Attributes pointAttributes)
java.util.List<T>
NoopExemplarReservoir. collectAndReset(Attributes pointAttributes)
private static Attributes
ReservoirCell. filtered(Attributes original, Attributes metricPoint)
Returns filtered attributes for exemplars.(package private) DoubleExemplarData
ReservoirCell. getAndResetDouble(Attributes pointAttributes)
Retrieve the cell'sExemplarData
.(package private) LongExemplarData
ReservoirCell. getAndResetLong(Attributes pointAttributes)
Retrieve the cell'sExemplarData
.void
ExemplarReservoir. offerDoubleMeasurement(double value, Attributes attributes, Context context)
Offers adouble
measurement to be sampled.void
FilteredExemplarReservoir. offerDoubleMeasurement(double value, Attributes attributes, Context context)
void
FixedSizeExemplarReservoir. offerDoubleMeasurement(double value, Attributes attributes, Context context)
void
LongToDoubleExemplarReservoir. offerDoubleMeasurement(double value, Attributes attributes, Context context)
void
NoopExemplarReservoir. offerDoubleMeasurement(double value, Attributes attributes, Context context)
void
ExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)
Offers along
measurement to be sampled.void
FilteredExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)
void
FixedSizeExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)
void
HistogramExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)
void
LongToDoubleExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)
void
NoopExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)
private void
ReservoirCell. offerMeasurement(Attributes attributes, Context context)
(package private) void
ReservoirCell. recordDoubleMeasurement(double value, Attributes attributes, Context context)
Record the long measurement to the cell.(package private) void
ReservoirCell. recordLongMeasurement(long value, Attributes attributes, Context context)
Record the long measurement to the cell.int
HistogramExemplarReservoir.HistogramCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, double value, Attributes attributes, Context context)
int
HistogramExemplarReservoir.HistogramCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, long value, Attributes attributes, Context context)
int
RandomFixedSizeExemplarReservoir.RandomCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, double value, Attributes attributes, Context context)
int
RandomFixedSizeExemplarReservoir.RandomCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, long value, Attributes attributes, Context context)
int
ReservoirCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, double value, Attributes attributes, Context context)
Determine the index of thecells
to record the measurement to.int
ReservoirCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, long value, Attributes attributes, Context context)
Determine the index of thecells
to record the measurement to.boolean
AlwaysOffFilter. shouldSampleMeasurement(double value, Attributes attributes, Context context)
boolean
AlwaysOffFilter. shouldSampleMeasurement(long value, Attributes attributes, Context context)
boolean
AlwaysOnFilter. shouldSampleMeasurement(double value, Attributes attributes, Context context)
boolean
AlwaysOnFilter. shouldSampleMeasurement(long value, Attributes attributes, Context context)
boolean
ExemplarFilter. shouldSampleMeasurement(double value, Attributes attributes, Context context)
Returns whether or not a reservoir should attempt to filter a measurement.boolean
ExemplarFilter. shouldSampleMeasurement(long value, Attributes attributes, Context context)
Returns whether or not a reservoir should attempt to filter a measurement.boolean
TraceBasedExemplarFilter. shouldSampleMeasurement(double value, Attributes attributes, Context context)
boolean
TraceBasedExemplarFilter. shouldSampleMeasurement(long value, Attributes attributes, Context context)
Constructor parameters in io.opentelemetry.sdk.metrics.internal.exemplar with type arguments of type Attributes Constructor Description FixedSizeExemplarReservoir(Clock clock, int size, ReservoirCellSelector reservoirCellSelector, java.util.function.BiFunction<ReservoirCell,Attributes,T> mapAndResetCell)
Instantiates an exemplar reservoir of fixed size.RandomFixedSizeExemplarReservoir(Clock clock, int size, java.util.function.Supplier<java.util.Random> randomSupplier, java.util.function.BiFunction<ReservoirCell,Attributes,T> mapAndResetCell)
-
Uses of Attributes in io.opentelemetry.sdk.metrics.internal.state
Fields in io.opentelemetry.sdk.metrics.internal.state declared as Attributes Modifier and Type Field Description private Attributes
AutoValue_ImmutableMeasurement. attributes
private Attributes
MutableMeasurement. attributes
static Attributes
MetricStorage. CARDINALITY_OVERFLOW
Attributes capturing overflow measurements recorded when cardinality limit is exceeded.Fields in io.opentelemetry.sdk.metrics.internal.state with type parameters of type Attributes Modifier and Type Field Description private java.util.concurrent.ConcurrentHashMap<Attributes,AggregatorHandle<T,U>>
DefaultSynchronousMetricStorage.AggregatorHolder. aggregatorHandles
private java.util.Map<Attributes,T>
AsynchronousMetricStorage. lastPoints
private java.util.Map<Attributes,T>
AsynchronousMetricStorage. points
private java.util.concurrent.ConcurrentHashMap<Attributes,AggregatorHandle<T,U>>
DefaultSynchronousMetricStorage. previousCollectionAggregatorHandles
Methods in io.opentelemetry.sdk.metrics.internal.state that return Attributes Modifier and Type Method Description Attributes
AutoValue_ImmutableMeasurement. attributes()
Attributes
Measurement. attributes()
Attributes
MutableMeasurement. attributes()
Methods in io.opentelemetry.sdk.metrics.internal.state with parameters of type Attributes Modifier and Type Method Description (package private) static ImmutableMeasurement
ImmutableMeasurement. createDouble(long startEpochNanos, long epochNanos, double value, Attributes attributes)
(package private) static ImmutableMeasurement
ImmutableMeasurement. createLong(long startEpochNanos, long epochNanos, long value, Attributes attributes)
private AggregatorHandle<T,U>
DefaultSynchronousMetricStorage. getAggregatorHandle(java.util.concurrent.ConcurrentHashMap<Attributes,AggregatorHandle<T,U>> aggregatorHandles, Attributes attributes, Context context)
void
SdkObservableMeasurement. record(double value, Attributes attributes)
void
SdkObservableMeasurement. record(long value, Attributes attributes)
void
DefaultSynchronousMetricStorage. recordDouble(double value, Attributes attributes, Context context)
void
EmptyMetricStorage. recordDouble(double value, Attributes attributes, Context context)
void
WriteableMetricStorage. recordDouble(double value, Attributes attributes, Context context)
Records a measurement.void
DefaultSynchronousMetricStorage. recordLong(long value, Attributes attributes, Context context)
void
EmptyMetricStorage. recordLong(long value, Attributes attributes, Context context)
void
WriteableMetricStorage. recordLong(long value, Attributes attributes, Context context)
Records a measurement.private void
AsynchronousMetricStorage. recordPoint(Attributes attributes, Measurement measurement)
private void
MutableMeasurement. set(long startEpochNanos, long epochNanos, boolean hasLongValue, long longValue, boolean hasDoubleValue, double doubleValue, Attributes attributes)
Sets the values.(package private) static void
MutableMeasurement. setDoubleMeasurement(MutableMeasurement mutableMeasurement, long startEpochNanos, long epochNanos, double value, Attributes attributes)
(package private) static void
MutableMeasurement. setLongMeasurement(MutableMeasurement mutableMeasurement, long startEpochNanos, long epochNanos, long value, Attributes attributes)
Measurement
ImmutableMeasurement. withAttributes(Attributes attributes)
Measurement
Measurement. withAttributes(Attributes attributes)
Updates the attributes.Measurement
MutableMeasurement. withAttributes(Attributes attributes)
Method parameters in io.opentelemetry.sdk.metrics.internal.state with type arguments of type Attributes Modifier and Type Method Description private AggregatorHandle<T,U>
DefaultSynchronousMetricStorage. getAggregatorHandle(java.util.concurrent.ConcurrentHashMap<Attributes,AggregatorHandle<T,U>> aggregatorHandles, Attributes attributes, Context context)
Constructors in io.opentelemetry.sdk.metrics.internal.state with parameters of type Attributes Constructor Description AutoValue_ImmutableMeasurement(long startEpochNanos, long epochNanos, boolean hasLongValue, long longValue, boolean hasDoubleValue, double doubleValue, Attributes attributes)
Constructor parameters in io.opentelemetry.sdk.metrics.internal.state with type arguments of type Attributes Constructor Description AggregatorHolder(java.util.concurrent.ConcurrentHashMap<Attributes,AggregatorHandle<T,U>> aggregatorHandles)
-
Uses of Attributes in io.opentelemetry.sdk.metrics.internal.view
Classes in io.opentelemetry.sdk.metrics.internal.view that implement Attributes Modifier and Type Class Description (package private) class
FilteredAttributes
Filtered attributes is a filtered view of aImmutableKeyValuePairs
backedAttributes
instance.private static class
FilteredAttributes.RegularFilteredAttributes
Implementation that can handle attributes of arbitrary size by storing filter status in aBitSet
.private static class
FilteredAttributes.SmallFilteredAttributes
Implementation that relies on the source having less thanFilteredAttributes.SmallFilteredAttributes.BITS_PER_INTEGER
attributes, and storing entry filter status in the bits of an integer.Fields in io.opentelemetry.sdk.metrics.internal.view declared as Attributes Modifier and Type Field Description private Attributes
AttributesProcessor.AppendingAttributesProcessor. additionalAttributes
Methods in io.opentelemetry.sdk.metrics.internal.view that return Attributes Modifier and Type Method Description private static Attributes
FilteredAttributes. convertToStandardImplementation(Attributes source)
(package private) static Attributes
FilteredAttributes. create(Attributes source, java.util.Set<AttributeKey<?>> includedKeys)
Create aFilteredAttributes
instance.Attributes
AdviceAttributesProcessor. process(Attributes incoming, Context context)
Attributes
AttributesProcessor.AppendingAttributesProcessor. process(Attributes incoming, Context context)
Attributes
AttributesProcessor.AttributeKeyFilteringProcessor. process(Attributes incoming, Context context)
Attributes
AttributesProcessor.BaggageAppendingAttributesProcessor. process(Attributes incoming, Context context)
Attributes
AttributesProcessor.JoinedAttributesProcessor. process(Attributes incoming, Context context)
abstract Attributes
AttributesProcessor. process(Attributes incoming, Context context)
Manipulates a set of attributes, returning the desired set.Attributes
NoopAttributesProcessor. process(Attributes incoming, Context context)
Methods in io.opentelemetry.sdk.metrics.internal.view with parameters of type Attributes Modifier and Type Method Description static AttributesProcessor
AttributesProcessor. append(Attributes attributes)
Creates a processor which appends (exactly) the given attributes.private static Attributes
FilteredAttributes. convertToStandardImplementation(Attributes source)
(package private) static Attributes
FilteredAttributes. create(Attributes source, java.util.Set<AttributeKey<?>> includedKeys)
Create aFilteredAttributes
instance.Attributes
AdviceAttributesProcessor. process(Attributes incoming, Context context)
Attributes
AttributesProcessor.AppendingAttributesProcessor. process(Attributes incoming, Context context)
Attributes
AttributesProcessor.AttributeKeyFilteringProcessor. process(Attributes incoming, Context context)
Attributes
AttributesProcessor.BaggageAppendingAttributesProcessor. process(Attributes incoming, Context context)
Attributes
AttributesProcessor.JoinedAttributesProcessor. process(Attributes incoming, Context context)
abstract Attributes
AttributesProcessor. process(Attributes incoming, Context context)
Manipulates a set of attributes, returning the desired set.Attributes
NoopAttributesProcessor. process(Attributes incoming, Context context)
Constructors in io.opentelemetry.sdk.metrics.internal.view with parameters of type Attributes Constructor Description AppendingAttributesProcessor(Attributes additionalAttributes)
-
Uses of Attributes in io.opentelemetry.sdk.resources
Fields in io.opentelemetry.sdk.resources declared as Attributes Modifier and Type Field Description private Attributes
AutoValue_Resource. attributes
Methods in io.opentelemetry.sdk.resources that return Attributes Modifier and Type Method Description Attributes
AutoValue_Resource. getAttributes()
abstract Attributes
Resource. getAttributes()
Returns a map of attributes that describe the resource.Methods in io.opentelemetry.sdk.resources with parameters of type Attributes Modifier and Type Method Description private static void
Resource. checkAttributes(Attributes attributes)
static Resource
Resource. create(Attributes attributes)
Returns aResource
.static Resource
Resource. create(Attributes attributes, java.lang.String schemaUrl)
Returns aResource
.ResourceBuilder
ResourceBuilder. putAll(Attributes attributes)
Puts allAttributes
into this.Constructors in io.opentelemetry.sdk.resources with parameters of type Attributes Constructor Description AutoValue_Resource(java.lang.String schemaUrl, Attributes attributes)
-
Uses of Attributes in io.opentelemetry.sdk.trace
Fields in io.opentelemetry.sdk.trace declared as Attributes Modifier and Type Field Description private Attributes
AutoValue_SpanWrapper. attributes
Methods in io.opentelemetry.sdk.trace that return Attributes Modifier and Type Method Description (package private) Attributes
AutoValue_SpanWrapper. attributes()
(package private) abstract Attributes
SpanWrapper. attributes()
default Attributes
ReadableSpan. getAttributes()
Returns the Span attributes.Attributes
SdkSpan. getAttributes()
Attributes
SpanWrapper. getAttributes()
private Attributes
SdkSpan. getImmutableAttributes()
Methods in io.opentelemetry.sdk.trace with parameters of type Attributes Modifier and Type Method Description ReadWriteSpan
SdkSpan. addEvent(java.lang.String name, Attributes attributes)
ReadWriteSpan
SdkSpan. addEvent(java.lang.String name, Attributes attributes, long timestamp, java.util.concurrent.TimeUnit unit)
Span
SdkSpan. addLink(SpanContext spanContext, Attributes attributes)
ExtendedSpanBuilder
SdkSpanBuilder. addLink(SpanContext spanContext, Attributes attributes)
(package private) static SpanWrapper
SpanWrapper. create(SdkSpan delegate, java.util.List<LinkData> links, java.util.List<EventData> events, Attributes attributes, int totalAttributeCount, int totalRecordedEvents, int totalRecordedLinks, StatusData status, java.lang.String name, long endEpochNanos, boolean hasEnded)
Note: the collections that are passed into this creator method are assumed to be immutable to preserve the overall immutability of the class.ReadWriteSpan
SdkSpan. recordException(java.lang.Throwable exception, Attributes additionalAttributes)
Constructors in io.opentelemetry.sdk.trace with parameters of type Attributes Constructor Description AutoValue_SpanWrapper(SdkSpan delegate, java.util.List<LinkData> resolvedLinks, java.util.List<EventData> resolvedEvents, Attributes attributes, int totalAttributeCount, int totalRecordedEvents, int totalRecordedLinks, StatusData status, java.lang.String name, long endEpochNanos, boolean internalHasEnded)
-
Uses of Attributes in io.opentelemetry.sdk.trace.data
Fields in io.opentelemetry.sdk.trace.data declared as Attributes Modifier and Type Field Description private Attributes
AutoValue_ImmutableEventData. attributes
private Attributes
AutoValue_ImmutableExceptionEventData. attributes
private Attributes
AutoValue_ImmutableLinkData. attributes
private static Attributes
ImmutableLinkData. DEFAULT_ATTRIBUTE_COLLECTION
Methods in io.opentelemetry.sdk.trace.data that return Attributes Modifier and Type Method Description Attributes
AutoValue_ImmutableEventData. getAttributes()
Attributes
AutoValue_ImmutableExceptionEventData. getAttributes()
Attributes
AutoValue_ImmutableLinkData. getAttributes()
Attributes
DelegatingSpanData. getAttributes()
Attributes
EventData. getAttributes()
Return the attributes of theEventData
.Attributes
LinkData. getAttributes()
Returns the set of attributes.Attributes
SpanData. getAttributes()
Returns the attributes recorded for thisSpan
.Methods in io.opentelemetry.sdk.trace.data with parameters of type Attributes Modifier and Type Method Description static EventData
EventData. create(long epochNanos, java.lang.String name, Attributes attributes)
Returns a new immutableEventData
.static EventData
EventData. create(long epochNanos, java.lang.String name, Attributes attributes, int totalAttributeCount)
Returns a new immutableEventData
.static ExceptionEventData
ExceptionEventData. create(long epochNanos, java.lang.Throwable exception, Attributes attributes, int totalAttributeCount)
Returns a new immutableExceptionEventData
.(package private) static EventData
ImmutableEventData. create(long epochNanos, java.lang.String name, Attributes attributes)
Returns a new immutableEvent
.(package private) static EventData
ImmutableEventData. create(long epochNanos, java.lang.String name, Attributes attributes, int totalAttributeCount)
Returns a new immutableEvent
.(package private) static ExceptionEventData
ImmutableExceptionEventData. create(long epochNanos, java.lang.Throwable exception, Attributes attributes, int totalAttributeCount)
Returns a new immutableEvent
.(package private) static LinkData
ImmutableLinkData. create(SpanContext spanContext, Attributes attributes)
(package private) static LinkData
ImmutableLinkData. create(SpanContext spanContext, Attributes attributes, int totalAttributeCount)
static LinkData
LinkData. create(SpanContext spanContext, Attributes attributes)
Returns a new immutableLinkData
.static LinkData
LinkData. create(SpanContext spanContext, Attributes attributes, int totalAttributeCount)
Returns a new immutableLinkData
.Constructors in io.opentelemetry.sdk.trace.data with parameters of type Attributes Constructor Description AutoValue_ImmutableEventData(java.lang.String name, Attributes attributes, long epochNanos, int totalAttributeCount)
AutoValue_ImmutableExceptionEventData(Attributes attributes, long epochNanos, int totalAttributeCount, java.lang.Throwable exception)
AutoValue_ImmutableLinkData(SpanContext spanContext, Attributes attributes, int totalAttributeCount)
-
Uses of Attributes in io.opentelemetry.sdk.trace.export
Fields in io.opentelemetry.sdk.trace.export declared as Attributes Modifier and Type Field Description private Attributes
BatchSpanProcessor.Worker. droppedAttrs
private Attributes
BatchSpanProcessor.Worker. exportedAttrs
-
Uses of Attributes in io.opentelemetry.sdk.trace.samplers
Fields in io.opentelemetry.sdk.trace.samplers declared as Attributes Modifier and Type Field Description private Attributes
AutoValue_ImmutableSamplingResult. attributes
Methods in io.opentelemetry.sdk.trace.samplers that return Attributes Modifier and Type Method Description Attributes
AutoValue_ImmutableSamplingResult. getAttributes()
abstract Attributes
ImmutableSamplingResult. getAttributes()
Attributes
SamplingResult. getAttributes()
Return tags which will be attached to the span.Methods in io.opentelemetry.sdk.trace.samplers with parameters of type Attributes Modifier and Type Method Description static SamplingResult
SamplingResult. create(SamplingDecision decision, Attributes attributes)
Returns aSamplingResult
with the givenattributes
andSamplingResult.getDecision()
returningdecision
.(package private) static SamplingResult
ImmutableSamplingResult. createSamplingResult(SamplingDecision decision, Attributes attributes)
SamplingResult
AlwaysOffSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)
SamplingResult
AlwaysOnSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)
SamplingResult
ParentBasedSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)
SamplingResult
Sampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)
Called duringSpan
creation to make a sampling samplingResult.SamplingResult
TraceIdRatioBasedSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)
Constructors in io.opentelemetry.sdk.trace.samplers with parameters of type Attributes Constructor Description AutoValue_ImmutableSamplingResult(SamplingDecision decision, Attributes attributes)
-