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, includingAttributesand 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 containsSamplers 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) classArrayBackedAttributesFields in io.opentelemetry.api.common declared as Attributes Modifier and Type Field Description (package private) static AttributesArrayBackedAttributes. EMPTYMethods in io.opentelemetry.api.common that return Attributes Modifier and Type Method Description AttributesArrayBackedAttributesBuilder. build()AttributesAttributesBuilder. build()Create theAttributesfrom this.static AttributesAttributes. empty()Returns aAttributesinstance with no attributes.static <T> AttributesAttributes. of(AttributeKey<T> key, T value)Returns aAttributesinstance with a single key-value pair.static <T,U>
AttributesAttributes. of(AttributeKey<T> key1, T value1, AttributeKey<U> key2, U value2)Returns aAttributesinstance 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 aAttributesinstance 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 aAttributesinstance 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 aAttributesinstance 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 aAttributesinstance with the given key-value pairs.(package private) static AttributesArrayBackedAttributes. sortAndFilterToAttributes(java.lang.Object... data)Methods in io.opentelemetry.api.common with parameters of type Attributes Modifier and Type Method Description AttributesBuilderArrayBackedAttributesBuilder. putAll(Attributes attributes)AttributesBuilderAttributesBuilder. 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 EventBuilderDefaultEventLogger.NoOpEventBuilder. setAttributes(Attributes attributes)EventBuilderEventBuilder. 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 voidExtendedDefaultMeter.NoopDoubleCounter. add(double value, Attributes attributes)voidExtendedDefaultMeter.NoopDoubleCounter. add(double value, Attributes attributes, Context context)voidExtendedDefaultMeter.NoopDoubleUpDownCounter. add(double value, Attributes attributes)voidExtendedDefaultMeter.NoopDoubleUpDownCounter. add(double value, Attributes attributes, Context context)voidExtendedDefaultMeter.NoopLongCounter. add(long value, Attributes attributes)voidExtendedDefaultMeter.NoopLongCounter. add(long value, Attributes attributes, Context context)voidExtendedDefaultMeter.NoopLongUpDownCounter. add(long value, Attributes attributes)voidExtendedDefaultMeter.NoopLongUpDownCounter. add(long value, Attributes attributes, Context context)voidExtendedDefaultMeter.NoopDoubleHistogram. record(double value, Attributes attributes)voidExtendedDefaultMeter.NoopDoubleHistogram. record(double value, Attributes attributes, Context context)voidExtendedDefaultMeter.NoopLongHistogram. record(long value, Attributes attributes)voidExtendedDefaultMeter.NoopLongHistogram. record(long value, Attributes attributes, Context context)voidExtendedDefaultMeter.NoopObservableDoubleMeasurement. record(double value, Attributes attributes)voidExtendedDefaultMeter.NoopObservableLongMeasurement. record(long value, Attributes attributes)voidExtendedDefaultMeter.NoopDoubleGauge. set(double value, Attributes attributes)voidExtendedDefaultMeter.NoopDoubleGauge. set(double value, Attributes attributes, Context context)voidExtendedDefaultMeter.NoopLongGauge. set(long value, Attributes attributes)voidExtendedDefaultMeter.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.NoopSpanBuilderExtendedDefaultTracer.NoopSpanBuilder. addLink(SpanContext spanContext, Attributes attributes)ExtendedSpanBuilderExtendedSpanBuilder. addLink(SpanContext spanContext, Attributes attributes)Adds a link to the newly createdSpan.ExtendedDefaultTracer.NoopSpanBuilderExtendedDefaultTracer.NoopSpanBuilder. setAllAttributes(Attributes attributes)default ExtendedSpanBuilderExtendedSpanBuilder. 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 LogRecordBuilderLogRecordBuilder. 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 voidDefaultMeter.NoopDoubleCounter. add(double value, Attributes attributes)voidDefaultMeter.NoopDoubleCounter. add(double value, Attributes attributes, Context context)voidDefaultMeter.NoopDoubleUpDownCounter. add(double value, Attributes attributes)voidDefaultMeter.NoopDoubleUpDownCounter. add(double value, Attributes attributes, Context context)voidDefaultMeter.NoopLongCounter. add(long value, Attributes attributes)voidDefaultMeter.NoopLongCounter. add(long value, Attributes attributes, Context context)voidDefaultMeter.NoopLongUpDownCounter. add(long value, Attributes attributes)voidDefaultMeter.NoopLongUpDownCounter. add(long value, Attributes attributes, Context context)voidDoubleCounter. add(double value, Attributes attributes)Records a value with a set of attributes.voidDoubleCounter. add(double value, Attributes attributes, Context context)Records a value with a set of attributes.voidDoubleUpDownCounter. add(double value, Attributes attributes)Records a value with a set of attributes.voidDoubleUpDownCounter. add(double value, Attributes attributes, Context context)Records a value with a set of attributes.voidLongCounter. add(long value, Attributes attributes)Records a value with a set of attributes.voidLongCounter. add(long value, Attributes attributes, Context context)Records a value with a set of attributes.voidLongUpDownCounter. add(long value, Attributes attributes)Record a value with a set of attributes.voidLongUpDownCounter. add(long value, Attributes attributes, Context context)Records a value with a set of attributes.voidDefaultMeter.NoopDoubleHistogram. record(double value, Attributes attributes)voidDefaultMeter.NoopDoubleHistogram. record(double value, Attributes attributes, Context context)voidDefaultMeter.NoopLongHistogram. record(long value, Attributes attributes)voidDefaultMeter.NoopLongHistogram. record(long value, Attributes attributes, Context context)voidDefaultMeter.NoopObservableDoubleMeasurement. record(double value, Attributes attributes)voidDefaultMeter.NoopObservableLongMeasurement. record(long value, Attributes attributes)voidDoubleHistogram. record(double value, Attributes attributes)Records a value with a set of attributes.voidDoubleHistogram. record(double value, Attributes attributes, Context context)Records a value with a set of attributes.voidLongHistogram. record(long value, Attributes attributes)Records a value with a set of attributes.voidLongHistogram. record(long value, Attributes attributes, Context context)Records a value with a set of attributes.voidObservableDoubleMeasurement. record(double value, Attributes attributes)Records a measurement with a set of attributes.voidObservableLongMeasurement. record(long value, Attributes attributes)Records a measurement with a set of attributes.voidDefaultMeter.NoopDoubleGauge. set(double value, Attributes attributes)voidDefaultMeter.NoopDoubleGauge. set(double value, Attributes attributes, Context context)voidDefaultMeter.NoopLongGauge. set(long value, Attributes attributes)voidDefaultMeter.NoopLongGauge. set(long value, Attributes attributes, Context context)voidDoubleGauge. set(double value, Attributes attributes)Records a value with a set of attributes.voidDoubleGauge. set(double value, Attributes attributes, Context context)Records a value with a set of attributes.voidLongGauge. set(long value, Attributes attributes)Records a value with a set of attributes.voidLongGauge. 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 SpanPropagatedSpan. addEvent(java.lang.String name, Attributes attributes)SpanPropagatedSpan. addEvent(java.lang.String name, Attributes attributes, long timestamp, java.util.concurrent.TimeUnit unit)SpanSpan. addEvent(java.lang.String name, Attributes attributes)Adds an event to theSpanwith the givenAttributes.SpanSpan. addEvent(java.lang.String name, Attributes attributes, long timestamp, java.util.concurrent.TimeUnit unit)default SpanSpan. addEvent(java.lang.String name, Attributes attributes, java.time.Instant timestamp)DefaultTracer.NoopSpanBuilderDefaultTracer.NoopSpanBuilder. addLink(SpanContext spanContext, Attributes attributes)default SpanSpan. addLink(SpanContext spanContext, Attributes attributes)Adds a link to thisSpan.SpanBuilderSpanBuilder. addLink(SpanContext spanContext, Attributes attributes)Adds a link to the newly createdSpan.SpanPropagatedSpan. recordException(java.lang.Throwable exception, Attributes additionalAttributes)SpanSpan. recordException(java.lang.Throwable exception, Attributes additionalAttributes)Records information about theThrowableto theSpan.DefaultTracer.NoopSpanBuilderDefaultTracer.NoopSpanBuilder. setAllAttributes(Attributes attributes)SpanPropagatedSpan. setAllAttributes(Attributes attributes)default SpanSpan. setAllAttributes(Attributes attributes)Sets attributes to theSpan.default SpanBuilderSpanBuilder. 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 AttributesExporterMetrics. failedAttrsprivate AttributesExporterMetrics. seenAttrsprivate AttributesExporterMetrics. 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 voidSerializer. serializeRepeatedMessageWithContext(ProtoFieldInfo field, Attributes attributes, StatelessMarshaler2<AttributeKey<?>,java.lang.Object> marshaler, MarshalerContext context)Serializesrepeated messagefield.static intStatelessMarshalerUtil. 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 AttributesAutoValue_InstrumentationScopeInfo. attributesprivate AttributesInstrumentationScopeInfoBuilder. attributesMethods in io.opentelemetry.sdk.common that return Attributes Modifier and Type Method Description AttributesAutoValue_InstrumentationScopeInfo. getAttributes()abstract AttributesInstrumentationScopeInfo. 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 InstrumentationScopeInfoInstrumentationScopeInfo. create(java.lang.String name, java.lang.String version, java.lang.String schemaUrl, Attributes attributes)InstrumentationScopeInfoBuilderInstrumentationScopeInfoBuilder. 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 classAttributesMapA 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 AttributesAttributeUtil. applyAttributesLimit(Attributes attributes, int countLimit, int lengthLimit)Apply thecountLimitandlengthLimitto the attributes.AttributesAttributesMap. 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 AttributesAttributeUtil. applyAttributesLimit(Attributes attributes, int countLimit, int lengthLimit)Apply thecountLimitandlengthLimitto the attributes.VComponentRegistry. 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 AttributesAutoValue_SdkLogRecordData. attributesMethods in io.opentelemetry.sdk.logs that return Attributes Modifier and Type Method Description AttributesAutoValue_SdkLogRecordData. getAttributes()private AttributesSdkReadWriteLogRecord. getImmutableAttributes()Methods in io.opentelemetry.sdk.logs with parameters of type Attributes Modifier and Type Method Description (package private) static SdkLogRecordDataSdkLogRecordData. create(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long epochNanos, long observedEpochNanos, SpanContext spanContext, Severity severity, java.lang.String severityText, Value<?> body, Attributes attributes, int totalAttributeCount)default ReadWriteLogRecordReadWriteLogRecord. 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 AttributesLogRecordData. 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 AttributesBatchLogRecordProcessor.Worker. droppedAttrsprivate AttributesBatchLogRecordProcessor.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 EventBuilderSdkEventBuilder. 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 voidSdkDoubleCounter. add(double increment, Attributes attributes)voidSdkDoubleCounter. add(double increment, Attributes attributes, Context context)voidSdkDoubleUpDownCounter. add(double increment, Attributes attributes)voidSdkDoubleUpDownCounter. add(double increment, Attributes attributes, Context context)voidSdkLongCounter. add(long increment, Attributes attributes)voidSdkLongCounter. add(long increment, Attributes attributes, Context context)voidSdkLongUpDownCounter. add(long increment, Attributes attributes)voidSdkLongUpDownCounter. add(long increment, Attributes attributes, Context context)voidSdkDoubleHistogram. record(double value, Attributes attributes)voidSdkDoubleHistogram. record(double value, Attributes attributes, Context context)voidSdkLongHistogram. record(long value, Attributes attributes)voidSdkLongHistogram. record(long value, Attributes attributes, Context context)voidSdkMeter.MultiWritableMetricStorage. recordDouble(double value, Attributes attributes, Context context)voidSdkMeter.MultiWritableMetricStorage. recordLong(long value, Attributes attributes, Context context)voidSdkDoubleGauge. set(double value, Attributes attributes)voidSdkDoubleGauge. set(double value, Attributes attributes, Context context)voidSdkLongGauge. set(long value, Attributes attributes)voidSdkLongGauge. 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 AttributesPointData. getAttributes()Returns the attributes of the aggregation.AttributesExemplarData. 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 TAggregatorHandle. aggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, boolean reset)Returns the current value into asAggregatorHandle.protected abstract TAggregatorHandle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<U> exemplars, boolean reset)Implementation of theAggregatorHandle.aggregateThenMaybeReset(long, long, Attributes, boolean).protected ExponentialHistogramPointDataDoubleBase2ExponentialHistogramAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<DoubleExemplarData> exemplars, boolean reset)protected HistogramPointDataDoubleExplicitBucketHistogramAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<DoubleExemplarData> exemplars, boolean reset)protected DoublePointDataDoubleLastValueAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<DoubleExemplarData> exemplars, boolean reset)protected DoublePointDataDoubleSumAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<DoubleExemplarData> exemplars, boolean reset)protected LongPointDataLongLastValueAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<LongExemplarData> exemplars, boolean reset)protected LongPointDataLongSumAggregator.Handle. doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, java.util.List<LongExemplarData> exemplars, boolean reset)voidAggregatorHandle. recordDouble(double value, Attributes attributes, Context context)voidAggregatorHandle. 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 AttributesAutoValue_ImmutableDoublePointData. attributesprivate AttributesAutoValue_ImmutableLongPointData. attributesprivate AttributesAutoValue_ImmutableSummaryPointData. attributesprivate AttributesMutableDoublePointData. attributesprivate AttributesMutableExponentialHistogramPointData. attributesprivate AttributesMutableHistogramPointData. attributesprivate AttributesMutableLongPointData. attributesprivate AttributesAutoValue_ImmutableDoubleExemplarData. filteredAttributesprivate AttributesAutoValue_ImmutableLongExemplarData. filteredAttributesprivate AttributesAutoValue_ImmutableExponentialHistogramPointData. getAttributesprivate AttributesAutoValue_ImmutableHistogramPointData. getAttributesMethods in io.opentelemetry.sdk.metrics.internal.data that return Attributes Modifier and Type Method Description AttributesAutoValue_ImmutableDoublePointData. getAttributes()AttributesAutoValue_ImmutableExponentialHistogramPointData. getAttributes()AttributesAutoValue_ImmutableHistogramPointData. getAttributes()AttributesAutoValue_ImmutableLongPointData. getAttributes()AttributesAutoValue_ImmutableSummaryPointData. getAttributes()AttributesMutableDoublePointData. getAttributes()AttributesMutableExponentialHistogramPointData. getAttributes()AttributesMutableHistogramPointData. getAttributes()AttributesMutableLongPointData. getAttributes()AttributesAutoValue_ImmutableDoubleExemplarData. getFilteredAttributes()AttributesAutoValue_ImmutableLongExemplarData. getFilteredAttributes()Methods in io.opentelemetry.sdk.metrics.internal.data with parameters of type Attributes Modifier and Type Method Description static DoubleExemplarDataImmutableDoubleExemplarData. create(Attributes filteredAttributes, long recordTimeNanos, SpanContext spanContext, double value)Construct a new exemplar.static DoublePointDataImmutableDoublePointData. create(long startEpochNanos, long epochNanos, Attributes attributes, double value)Creates aImmutableDoublePointData.static DoublePointDataImmutableDoublePointData. create(long startEpochNanos, long epochNanos, Attributes attributes, double value, java.util.List<DoubleExemplarData> exemplars)Creates aImmutableDoublePointData.static ExponentialHistogramPointDataImmutableExponentialHistogramPointData. 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 ImmutableHistogramPointDataImmutableHistogramPointData. 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 ImmutableHistogramPointDataImmutableHistogramPointData. 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 LongExemplarDataImmutableLongExemplarData. create(Attributes filteredAttributes, long recordTimeNanos, SpanContext spanContext, long value)Construct a new exemplar.static LongPointDataImmutableLongPointData. create(long startEpochNanos, long epochNanos, Attributes attributes, long value)Creates aImmutableLongPointData.static LongPointDataImmutableLongPointData. create(long startEpochNanos, long epochNanos, Attributes attributes, long value, java.util.List<LongExemplarData> exemplars)Creates aImmutableLongPointData.static ImmutableSummaryPointDataImmutableSummaryPointData. create(long startEpochNanos, long epochNanos, Attributes attributes, long count, double sum, java.util.List<ValueAtQuantile> percentileValues)Creates aSummaryPointData.voidMutableDoublePointData. set(long startEpochNanos, long epochNanos, Attributes attributes, double value)Sets allMutableDoublePointDatavalues , besides exemplars which are set to empty.voidMutableDoublePointData. set(long startEpochNanos, long epochNanos, Attributes attributes, double value, java.util.List<DoubleExemplarData> exemplars)Sets allMutableDoublePointDatavalues.ExponentialHistogramPointDataMutableExponentialHistogramPointData. 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)MutableHistogramPointDataMutableHistogramPointData. 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)voidMutableLongPointData. set(long startEpochNanos, long epochNanos, Attributes attributes, long value)Sets allMutableDoublePointDatavalues besides exemplars which are set to be empty.voidMutableLongPointData. set(long startEpochNanos, long epochNanos, Attributes attributes, long value, java.util.List<LongExemplarData> exemplars)Sets allMutableDoublePointDatavalues.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 AttributesReservoirCell. attributesFields 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. mapAndResetCellMethods in io.opentelemetry.sdk.metrics.internal.exemplar that return Attributes Modifier and Type Method Description private static AttributesReservoirCell. 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 AttributesReservoirCell. filtered(Attributes original, Attributes metricPoint)Returns filtered attributes for exemplars.(package private) DoubleExemplarDataReservoirCell. getAndResetDouble(Attributes pointAttributes)Retrieve the cell'sExemplarData.(package private) LongExemplarDataReservoirCell. getAndResetLong(Attributes pointAttributes)Retrieve the cell'sExemplarData.voidExemplarReservoir. offerDoubleMeasurement(double value, Attributes attributes, Context context)Offers adoublemeasurement to be sampled.voidFilteredExemplarReservoir. offerDoubleMeasurement(double value, Attributes attributes, Context context)voidFixedSizeExemplarReservoir. offerDoubleMeasurement(double value, Attributes attributes, Context context)voidLongToDoubleExemplarReservoir. offerDoubleMeasurement(double value, Attributes attributes, Context context)voidNoopExemplarReservoir. offerDoubleMeasurement(double value, Attributes attributes, Context context)voidExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)Offers alongmeasurement to be sampled.voidFilteredExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)voidFixedSizeExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)voidHistogramExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)voidLongToDoubleExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)voidNoopExemplarReservoir. offerLongMeasurement(long value, Attributes attributes, Context context)private voidReservoirCell. offerMeasurement(Attributes attributes, Context context)(package private) voidReservoirCell. recordDoubleMeasurement(double value, Attributes attributes, Context context)Record the long measurement to the cell.(package private) voidReservoirCell. recordLongMeasurement(long value, Attributes attributes, Context context)Record the long measurement to the cell.intHistogramExemplarReservoir.HistogramCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, double value, Attributes attributes, Context context)intHistogramExemplarReservoir.HistogramCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, long value, Attributes attributes, Context context)intRandomFixedSizeExemplarReservoir.RandomCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, double value, Attributes attributes, Context context)intRandomFixedSizeExemplarReservoir.RandomCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, long value, Attributes attributes, Context context)intReservoirCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, double value, Attributes attributes, Context context)Determine the index of thecellsto record the measurement to.intReservoirCellSelector. reservoirCellIndexFor(ReservoirCell[] cells, long value, Attributes attributes, Context context)Determine the index of thecellsto record the measurement to.booleanAlwaysOffFilter. shouldSampleMeasurement(double value, Attributes attributes, Context context)booleanAlwaysOffFilter. shouldSampleMeasurement(long value, Attributes attributes, Context context)booleanAlwaysOnFilter. shouldSampleMeasurement(double value, Attributes attributes, Context context)booleanAlwaysOnFilter. shouldSampleMeasurement(long value, Attributes attributes, Context context)booleanExemplarFilter. shouldSampleMeasurement(double value, Attributes attributes, Context context)Returns whether or not a reservoir should attempt to filter a measurement.booleanExemplarFilter. shouldSampleMeasurement(long value, Attributes attributes, Context context)Returns whether or not a reservoir should attempt to filter a measurement.booleanTraceBasedExemplarFilter. shouldSampleMeasurement(double value, Attributes attributes, Context context)booleanTraceBasedExemplarFilter. 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 AttributesAutoValue_ImmutableMeasurement. attributesprivate AttributesMutableMeasurement. attributesstatic AttributesMetricStorage. CARDINALITY_OVERFLOWAttributes 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. aggregatorHandlesprivate java.util.Map<Attributes,T>AsynchronousMetricStorage. lastPointsprivate java.util.Map<Attributes,T>AsynchronousMetricStorage. pointsprivate java.util.concurrent.ConcurrentHashMap<Attributes,AggregatorHandle<T,U>>DefaultSynchronousMetricStorage. previousCollectionAggregatorHandlesMethods in io.opentelemetry.sdk.metrics.internal.state that return Attributes Modifier and Type Method Description AttributesAutoValue_ImmutableMeasurement. attributes()AttributesMeasurement. attributes()AttributesMutableMeasurement. attributes()Methods in io.opentelemetry.sdk.metrics.internal.state with parameters of type Attributes Modifier and Type Method Description (package private) static ImmutableMeasurementImmutableMeasurement. createDouble(long startEpochNanos, long epochNanos, double value, Attributes attributes)(package private) static ImmutableMeasurementImmutableMeasurement. 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)voidSdkObservableMeasurement. record(double value, Attributes attributes)voidSdkObservableMeasurement. record(long value, Attributes attributes)voidDefaultSynchronousMetricStorage. recordDouble(double value, Attributes attributes, Context context)voidEmptyMetricStorage. recordDouble(double value, Attributes attributes, Context context)voidWriteableMetricStorage. recordDouble(double value, Attributes attributes, Context context)Records a measurement.voidDefaultSynchronousMetricStorage. recordLong(long value, Attributes attributes, Context context)voidEmptyMetricStorage. recordLong(long value, Attributes attributes, Context context)voidWriteableMetricStorage. recordLong(long value, Attributes attributes, Context context)Records a measurement.private voidAsynchronousMetricStorage. recordPoint(Attributes attributes, Measurement measurement)private voidMutableMeasurement. set(long startEpochNanos, long epochNanos, boolean hasLongValue, long longValue, boolean hasDoubleValue, double doubleValue, Attributes attributes)Sets the values.(package private) static voidMutableMeasurement. setDoubleMeasurement(MutableMeasurement mutableMeasurement, long startEpochNanos, long epochNanos, double value, Attributes attributes)(package private) static voidMutableMeasurement. setLongMeasurement(MutableMeasurement mutableMeasurement, long startEpochNanos, long epochNanos, long value, Attributes attributes)MeasurementImmutableMeasurement. withAttributes(Attributes attributes)MeasurementMeasurement. withAttributes(Attributes attributes)Updates the attributes.MeasurementMutableMeasurement. 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) classFilteredAttributesFiltered attributes is a filtered view of aImmutableKeyValuePairsbackedAttributesinstance.private static classFilteredAttributes.RegularFilteredAttributesImplementation that can handle attributes of arbitrary size by storing filter status in aBitSet.private static classFilteredAttributes.SmallFilteredAttributesImplementation that relies on the source having less thanFilteredAttributes.SmallFilteredAttributes.BITS_PER_INTEGERattributes, 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 AttributesAttributesProcessor.AppendingAttributesProcessor. additionalAttributesMethods in io.opentelemetry.sdk.metrics.internal.view that return Attributes Modifier and Type Method Description private static AttributesFilteredAttributes. convertToStandardImplementation(Attributes source)(package private) static AttributesFilteredAttributes. create(Attributes source, java.util.Set<AttributeKey<?>> includedKeys)Create aFilteredAttributesinstance.AttributesAdviceAttributesProcessor. process(Attributes incoming, Context context)AttributesAttributesProcessor.AppendingAttributesProcessor. process(Attributes incoming, Context context)AttributesAttributesProcessor.AttributeKeyFilteringProcessor. process(Attributes incoming, Context context)AttributesAttributesProcessor.BaggageAppendingAttributesProcessor. process(Attributes incoming, Context context)AttributesAttributesProcessor.JoinedAttributesProcessor. process(Attributes incoming, Context context)abstract AttributesAttributesProcessor. process(Attributes incoming, Context context)Manipulates a set of attributes, returning the desired set.AttributesNoopAttributesProcessor. process(Attributes incoming, Context context)Methods in io.opentelemetry.sdk.metrics.internal.view with parameters of type Attributes Modifier and Type Method Description static AttributesProcessorAttributesProcessor. append(Attributes attributes)Creates a processor which appends (exactly) the given attributes.private static AttributesFilteredAttributes. convertToStandardImplementation(Attributes source)(package private) static AttributesFilteredAttributes. create(Attributes source, java.util.Set<AttributeKey<?>> includedKeys)Create aFilteredAttributesinstance.AttributesAdviceAttributesProcessor. process(Attributes incoming, Context context)AttributesAttributesProcessor.AppendingAttributesProcessor. process(Attributes incoming, Context context)AttributesAttributesProcessor.AttributeKeyFilteringProcessor. process(Attributes incoming, Context context)AttributesAttributesProcessor.BaggageAppendingAttributesProcessor. process(Attributes incoming, Context context)AttributesAttributesProcessor.JoinedAttributesProcessor. process(Attributes incoming, Context context)abstract AttributesAttributesProcessor. process(Attributes incoming, Context context)Manipulates a set of attributes, returning the desired set.AttributesNoopAttributesProcessor. 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 AttributesAutoValue_Resource. attributesMethods in io.opentelemetry.sdk.resources that return Attributes Modifier and Type Method Description AttributesAutoValue_Resource. getAttributes()abstract AttributesResource. 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 voidResource. checkAttributes(Attributes attributes)static ResourceResource. create(Attributes attributes)Returns aResource.static ResourceResource. create(Attributes attributes, java.lang.String schemaUrl)Returns aResource.ResourceBuilderResourceBuilder. putAll(Attributes attributes)Puts allAttributesinto 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 AttributesAutoValue_SpanWrapper. attributesMethods in io.opentelemetry.sdk.trace that return Attributes Modifier and Type Method Description (package private) AttributesAutoValue_SpanWrapper. attributes()(package private) abstract AttributesSpanWrapper. attributes()default AttributesReadableSpan. getAttributes()Returns the Span attributes.AttributesSdkSpan. getAttributes()AttributesSpanWrapper. getAttributes()private AttributesSdkSpan. getImmutableAttributes()Methods in io.opentelemetry.sdk.trace with parameters of type Attributes Modifier and Type Method Description ReadWriteSpanSdkSpan. addEvent(java.lang.String name, Attributes attributes)ReadWriteSpanSdkSpan. addEvent(java.lang.String name, Attributes attributes, long timestamp, java.util.concurrent.TimeUnit unit)SpanSdkSpan. addLink(SpanContext spanContext, Attributes attributes)ExtendedSpanBuilderSdkSpanBuilder. addLink(SpanContext spanContext, Attributes attributes)(package private) static SpanWrapperSpanWrapper. 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.ReadWriteSpanSdkSpan. 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 AttributesAutoValue_ImmutableEventData. attributesprivate AttributesAutoValue_ImmutableExceptionEventData. attributesprivate AttributesAutoValue_ImmutableLinkData. attributesprivate static AttributesImmutableLinkData. DEFAULT_ATTRIBUTE_COLLECTIONMethods in io.opentelemetry.sdk.trace.data that return Attributes Modifier and Type Method Description AttributesAutoValue_ImmutableEventData. getAttributes()AttributesAutoValue_ImmutableExceptionEventData. getAttributes()AttributesAutoValue_ImmutableLinkData. getAttributes()AttributesDelegatingSpanData. getAttributes()AttributesEventData. getAttributes()Return the attributes of theEventData.AttributesLinkData. getAttributes()Returns the set of attributes.AttributesSpanData. 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 EventDataEventData. create(long epochNanos, java.lang.String name, Attributes attributes)Returns a new immutableEventData.static EventDataEventData. create(long epochNanos, java.lang.String name, Attributes attributes, int totalAttributeCount)Returns a new immutableEventData.static ExceptionEventDataExceptionEventData. create(long epochNanos, java.lang.Throwable exception, Attributes attributes, int totalAttributeCount)Returns a new immutableExceptionEventData.(package private) static EventDataImmutableEventData. create(long epochNanos, java.lang.String name, Attributes attributes)Returns a new immutableEvent.(package private) static EventDataImmutableEventData. create(long epochNanos, java.lang.String name, Attributes attributes, int totalAttributeCount)Returns a new immutableEvent.(package private) static ExceptionEventDataImmutableExceptionEventData. create(long epochNanos, java.lang.Throwable exception, Attributes attributes, int totalAttributeCount)Returns a new immutableEvent.(package private) static LinkDataImmutableLinkData. create(SpanContext spanContext, Attributes attributes)(package private) static LinkDataImmutableLinkData. create(SpanContext spanContext, Attributes attributes, int totalAttributeCount)static LinkDataLinkData. create(SpanContext spanContext, Attributes attributes)Returns a new immutableLinkData.static LinkDataLinkData. 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 AttributesBatchSpanProcessor.Worker. droppedAttrsprivate AttributesBatchSpanProcessor.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 AttributesAutoValue_ImmutableSamplingResult. attributesMethods in io.opentelemetry.sdk.trace.samplers that return Attributes Modifier and Type Method Description AttributesAutoValue_ImmutableSamplingResult. getAttributes()abstract AttributesImmutableSamplingResult. getAttributes()AttributesSamplingResult. 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 SamplingResultSamplingResult. create(SamplingDecision decision, Attributes attributes)Returns aSamplingResultwith the givenattributesandSamplingResult.getDecision()returningdecision.(package private) static SamplingResultImmutableSamplingResult. createSamplingResult(SamplingDecision decision, Attributes attributes)SamplingResultAlwaysOffSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)SamplingResultAlwaysOnSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)SamplingResultParentBasedSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)SamplingResultSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)Called duringSpancreation to make a sampling samplingResult.SamplingResultTraceIdRatioBasedSampler. 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)
-