Uses of Interface
io.opentelemetry.api.common.Attributes
Packages that use Attributes
Package
Description
This package contains code common across the OpenTelemetry APIs, including
Attributes and classes/utilities for interacting with them.API for writing log appenders.
This package describes the Metrics API that can be used to record application Metrics.
API for distributed tracing.
Internal utilities for exporters.
Marshaling framework for serializing data to protobuf format.
Utilities for working with the OTLP format.
Common utilities used by all SDK components.
Interfaces and implementations that are internal to OpenTelemetry.
The OpenTelemetry SDK implementation of logging.
The data format to model logs for export.
Log exporters.
The SDK implementation of metrics.
Classes which form the in-memory representation of the OpenTelemetry metrics data model.
Metric aggregators.
The data format to model metrics for export.
Metric exemplar extension points.
View related internal classes.
API for resource information population.
The OpenTelemetry SDK implementation of tracing.
The data format to model traces for export.
Utilities that allow tracing services to export data for sampled spans, as well as providing
in-process span processing APIs.
This package contains
Samplers for selecting traces
that are recorded and exported.-
Uses of Attributes in io.opentelemetry.api.common
Classes in io.opentelemetry.api.common that implement AttributesFields in io.opentelemetry.api.common declared as AttributesModifier and TypeFieldDescription(package private) static final AttributesArrayBackedAttributes.EMPTYMethods in io.opentelemetry.api.common that return AttributesModifier and TypeMethodDescriptionArrayBackedAttributesBuilder.build()AttributesBuilder.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> Attributes Attributes.of(AttributeKey<T> key1, T value1, AttributeKey<U> key2, U value2) Returns aAttributesinstance with two key-value pairs.static <T,U, V> Attributes Attributes.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> Attributes Attributes.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(Object... data) Methods in io.opentelemetry.api.common with parameters of type AttributesModifier and TypeMethodDescriptionArrayBackedAttributesBuilder.putAll(Attributes attributes) 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 AttributesModifier and TypeMethodDescriptionDefaultEventLogger.NoOpEventBuilder.setAttributes(Attributes attributes) 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 AttributesModifier and TypeMethodDescriptionvoidExtendedDefaultMeter.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 AttributesModifier and TypeMethodDescriptionExtendedDefaultTracer.NoopSpanBuilder.addLink(SpanContext spanContext, Attributes attributes) ExtendedSpanBuilder.addLink(SpanContext spanContext, Attributes attributes) Adds a link to the newly createdSpan.ExtendedDefaultTracer.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 AttributesModifier and TypeMethodDescriptiondefault LogRecordBuilderLogRecordBuilder.setAllAttributes(Attributes attributes) Sets attributes. -
Uses of Attributes in io.opentelemetry.api.metrics
Methods in io.opentelemetry.api.metrics with parameters of type AttributesModifier and TypeMethodDescriptionvoidDefaultMeter.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 AttributesModifier and TypeMethodDescriptionPropagatedSpan.addEvent(String name, Attributes attributes) PropagatedSpan.addEvent(String name, Attributes attributes, long timestamp, TimeUnit unit) Span.addEvent(String name, Attributes attributes) Adds an event to theSpanwith the givenAttributes.Span.addEvent(String name, Attributes attributes, long timestamp, TimeUnit unit) default SpanSpan.addEvent(String name, Attributes attributes, Instant timestamp) DefaultTracer.NoopSpanBuilder.addLink(SpanContext spanContext, Attributes attributes) default SpanSpan.addLink(SpanContext spanContext, Attributes attributes) Adds a link to thisSpan.SpanBuilder.addLink(SpanContext spanContext, Attributes attributes) Adds a link to the newly createdSpan.PropagatedSpan.recordException(Throwable exception, Attributes additionalAttributes) Span.recordException(Throwable exception, Attributes additionalAttributes) DefaultTracer.NoopSpanBuilder.setAllAttributes(Attributes attributes) PropagatedSpan.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 AttributesModifier and TypeFieldDescriptionprivate final AttributesExporterMetrics.failedAttrsprivate final AttributesExporterMetrics.seenAttrsprivate final AttributesExporterMetrics.successAttrs -
Uses of Attributes in io.opentelemetry.exporter.internal.marshal
Methods in io.opentelemetry.exporter.internal.marshal with parameters of type AttributesModifier and TypeMethodDescriptionvoidSerializer.serializeRepeatedMessageWithContext(ProtoFieldInfo field, Attributes attributes, StatelessMarshaler2<AttributeKey<?>, Object> marshaler, MarshalerContext context) Serializesrepeated messagefield.static intStatelessMarshalerUtil.sizeRepeatedMessageWithContext(ProtoFieldInfo field, Attributes attributes, StatelessMarshaler2<AttributeKey<?>, 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 AttributesModifier and TypeMethodDescriptionstatic 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 AttributesModifier and TypeFieldDescriptionprivate final AttributesAutoValue_InstrumentationScopeInfo.attributesprivate AttributesInstrumentationScopeInfoBuilder.attributesMethods in io.opentelemetry.sdk.common that return AttributesModifier and TypeMethodDescriptionAutoValue_InstrumentationScopeInfo.getAttributes()abstract AttributesInstrumentationScopeInfo.getAttributes()Returns the attributes of this instrumentation scope.Methods in io.opentelemetry.sdk.common with parameters of type AttributesModifier and TypeMethodDescription(package private) static InstrumentationScopeInfoInstrumentationScopeInfo.create(String name, String version, String schemaUrl, Attributes attributes) InstrumentationScopeInfoBuilder.setAttributes(Attributes attributes) Set the attributes.Constructors in io.opentelemetry.sdk.common with parameters of type AttributesModifierConstructorDescription(package private)AutoValue_InstrumentationScopeInfo(String name, String version, String schemaUrl, Attributes attributes) -
Uses of Attributes in io.opentelemetry.sdk.internal
Classes in io.opentelemetry.sdk.internal that implement AttributesModifier and TypeClassDescriptionfinal classA 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 AttributesModifier and TypeMethodDescriptionstatic AttributesAttributeUtil.applyAttributesLimit(Attributes attributes, int countLimit, int lengthLimit) Apply thecountLimitandlengthLimitto the attributes.AttributesMap.immutableCopy()Create an immutable copy of the attributes in this map.Methods in io.opentelemetry.sdk.internal with parameters of type AttributesModifier and TypeMethodDescriptionstatic AttributesAttributeUtil.applyAttributesLimit(Attributes attributes, int countLimit, int lengthLimit) Apply thecountLimitandlengthLimitto the attributes.ComponentRegistry.get(String name, String version, 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 AttributesMethods in io.opentelemetry.sdk.logs that return AttributesModifier and TypeMethodDescriptionAutoValue_SdkLogRecordData.getAttributes()private AttributesSdkReadWriteLogRecord.getImmutableAttributes()Methods in io.opentelemetry.sdk.logs with parameters of type AttributesModifier and TypeMethodDescription(package private) static SdkLogRecordDataSdkLogRecordData.create(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long epochNanos, long observedEpochNanos, SpanContext spanContext, Severity severity, 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 AttributesModifierConstructorDescription(package private)AutoValue_SdkLogRecordData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long timestampEpochNanos, long observedTimestampEpochNanos, SpanContext spanContext, Severity severity, 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 AttributesModifier and TypeMethodDescriptionLogRecordData.getAttributes()Returns the attributes for this log, orAttributes.empty()if unset. -
Uses of Attributes in io.opentelemetry.sdk.logs.export
Fields in io.opentelemetry.sdk.logs.export declared as AttributesModifier and TypeFieldDescriptionprivate final AttributesBatchLogRecordProcessor.Worker.droppedAttrsprivate final AttributesBatchLogRecordProcessor.Worker.exportedAttrs -
Uses of Attributes in io.opentelemetry.sdk.logs.internal
Methods in io.opentelemetry.sdk.logs.internal with parameters of type Attributes -
Uses of Attributes in io.opentelemetry.sdk.metrics
Methods in io.opentelemetry.sdk.metrics with parameters of type AttributesModifier and TypeMethodDescriptionvoidSdkDoubleCounter.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 AttributesModifier and TypeMethodDescriptionPointData.getAttributes()Returns the attributes of the aggregation.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 AttributesModifier and TypeMethodDescriptionfinal TAggregatorHandle.aggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, boolean reset) Returns the current value into asT.protected abstract TAggregatorHandle.doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, List<U> exemplars, boolean reset) Implementation of theAggregatorHandle.aggregateThenMaybeReset(long, long, Attributes, boolean).protected ExponentialHistogramPointDataDoubleBase2ExponentialHistogramAggregator.Handle.doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, List<DoubleExemplarData> exemplars, boolean reset) protected HistogramPointDataDoubleExplicitBucketHistogramAggregator.Handle.doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, List<DoubleExemplarData> exemplars, boolean reset) protected DoublePointDataDoubleLastValueAggregator.Handle.doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, List<DoubleExemplarData> exemplars, boolean reset) protected DoublePointDataDoubleSumAggregator.Handle.doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, List<DoubleExemplarData> exemplars, boolean reset) protected LongPointDataLongLastValueAggregator.Handle.doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, List<LongExemplarData> exemplars, boolean reset) protected LongPointDataLongSumAggregator.Handle.doAggregateThenMaybeReset(long startEpochNanos, long epochNanos, Attributes attributes, List<LongExemplarData> exemplars, boolean reset) final voidAggregatorHandle.recordDouble(double value, Attributes attributes, Context context) final 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 AttributesModifier and TypeFieldDescriptionprivate final AttributesAutoValue_ImmutableDoublePointData.attributesprivate final AttributesAutoValue_ImmutableLongPointData.attributesprivate final AttributesAutoValue_ImmutableSummaryPointData.attributesprivate AttributesMutableDoublePointData.attributesprivate AttributesMutableExponentialHistogramPointData.attributesprivate AttributesMutableHistogramPointData.attributesprivate AttributesMutableLongPointData.attributesprivate final AttributesAutoValue_ImmutableDoubleExemplarData.filteredAttributesprivate final AttributesAutoValue_ImmutableLongExemplarData.filteredAttributesprivate final AttributesAutoValue_ImmutableExponentialHistogramPointData.getAttributesprivate final AttributesAutoValue_ImmutableHistogramPointData.getAttributesMethods in io.opentelemetry.sdk.metrics.internal.data that return AttributesModifier and TypeMethodDescriptionAutoValue_ImmutableDoublePointData.getAttributes()AutoValue_ImmutableExponentialHistogramPointData.getAttributes()AutoValue_ImmutableHistogramPointData.getAttributes()AutoValue_ImmutableLongPointData.getAttributes()AutoValue_ImmutableSummaryPointData.getAttributes()MutableDoublePointData.getAttributes()MutableExponentialHistogramPointData.getAttributes()MutableHistogramPointData.getAttributes()MutableLongPointData.getAttributes()AutoValue_ImmutableDoubleExemplarData.getFilteredAttributes()AutoValue_ImmutableLongExemplarData.getFilteredAttributes()Methods in io.opentelemetry.sdk.metrics.internal.data with parameters of type AttributesModifier and TypeMethodDescriptionstatic 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, List<DoubleExemplarData> exemplars) Creates aImmutableDoublePointData.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, 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, List<Double> boundaries, List<Long> counts) Creates a HistogramPointData.static ImmutableHistogramPointDataImmutableHistogramPointData.create(long startEpochNanos, long epochNanos, Attributes attributes, double sum, boolean hasMin, double min, boolean hasMax, double max, List<Double> boundaries, List<Long> counts, 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, List<LongExemplarData> exemplars) Creates aImmutableLongPointData.static ImmutableSummaryPointDataImmutableSummaryPointData.create(long startEpochNanos, long epochNanos, Attributes attributes, long count, double sum, 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, List<DoubleExemplarData> exemplars) Sets allMutableDoublePointDatavalues.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, List<DoubleExemplarData> exemplars) MutableHistogramPointData.set(long startEpochNanos, long epochNanos, Attributes attributes, double sum, boolean hasMin, double min, boolean hasMax, double max, List<Double> boundaries, long[] counts, 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, List<LongExemplarData> exemplars) Sets allMutableDoublePointDatavalues.Constructors in io.opentelemetry.sdk.metrics.internal.data with parameters of type AttributesModifierConstructorDescription(package private)AutoValue_ImmutableDoubleExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, double value) (package private)AutoValue_ImmutableDoublePointData(long startEpochNanos, long epochNanos, Attributes attributes, double value, List<DoubleExemplarData> exemplars) (package private)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, List<DoubleExemplarData> getExemplars) (package private)AutoValue_ImmutableHistogramPointData(long getStartEpochNanos, long getEpochNanos, Attributes getAttributes, double getSum, long getCount, boolean hasMin, double getMin, boolean hasMax, double getMax, List<Double> getBoundaries, List<Long> getCounts, List<DoubleExemplarData> getExemplars) (package private)AutoValue_ImmutableLongExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, long value) (package private)AutoValue_ImmutableLongPointData(long startEpochNanos, long epochNanos, Attributes attributes, long value, List<LongExemplarData> exemplars) (package private)AutoValue_ImmutableSummaryPointData(long startEpochNanos, long epochNanos, Attributes attributes, List<? extends ExemplarData> exemplars, long count, double sum, List<ValueAtQuantile> values) -
Uses of Attributes in io.opentelemetry.sdk.metrics.internal.exemplar
Fields in io.opentelemetry.sdk.metrics.internal.exemplar declared as AttributesFields in io.opentelemetry.sdk.metrics.internal.exemplar with type parameters of type AttributesModifier and TypeFieldDescriptionprivate final BiFunction<ReservoirCell, Attributes, T> FixedSizeExemplarReservoir.mapAndResetCellMethods in io.opentelemetry.sdk.metrics.internal.exemplar that return AttributesModifier and TypeMethodDescriptionprivate static AttributesReservoirCell.filtered(Attributes original, Attributes metricPoint) Returns filtered attributes for exemplars.Methods in io.opentelemetry.sdk.metrics.internal.exemplar with parameters of type AttributesModifier and TypeMethodDescriptionExemplarReservoir.collectAndReset(Attributes pointAttributes) Returns an immutable list of Exemplars for exporting from the current reservoir.FilteredExemplarReservoir.collectAndReset(Attributes pointAttributes) FixedSizeExemplarReservoir.collectAndReset(Attributes pointAttributes) LongToDoubleExemplarReservoir.collectAndReset(Attributes pointAttributes) 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 AttributesModifierConstructorDescription(package private)FixedSizeExemplarReservoir(Clock clock, int size, ReservoirCellSelector reservoirCellSelector, BiFunction<ReservoirCell, Attributes, T> mapAndResetCell) Instantiates an exemplar reservoir of fixed size.privateRandomFixedSizeExemplarReservoir(Clock clock, int size, Supplier<Random> randomSupplier, 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 AttributesModifier and TypeFieldDescriptionprivate final AttributesAutoValue_ImmutableMeasurement.attributesprivate AttributesMutableMeasurement.attributesstatic final 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 AttributesModifier and TypeFieldDescriptionprivate final ConcurrentHashMap<Attributes, AggregatorHandle<T, U>> DefaultSynchronousMetricStorage.AggregatorHolder.aggregatorHandlesprivate Map<Attributes, T> AsynchronousMetricStorage.lastPointsprivate Map<Attributes, T> AsynchronousMetricStorage.pointsprivate ConcurrentHashMap<Attributes, AggregatorHandle<T, U>> DefaultSynchronousMetricStorage.previousCollectionAggregatorHandlesMethods in io.opentelemetry.sdk.metrics.internal.state that return AttributesModifier and TypeMethodDescriptionAutoValue_ImmutableMeasurement.attributes()Measurement.attributes()MutableMeasurement.attributes()Methods in io.opentelemetry.sdk.metrics.internal.state with parameters of type AttributesModifier and TypeMethodDescription(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(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) ImmutableMeasurement.withAttributes(Attributes attributes) Measurement.withAttributes(Attributes attributes) Updates the attributes.MutableMeasurement.withAttributes(Attributes attributes) Method parameters in io.opentelemetry.sdk.metrics.internal.state with type arguments of type AttributesModifier and TypeMethodDescriptionprivate AggregatorHandle<T, U> DefaultSynchronousMetricStorage.getAggregatorHandle(ConcurrentHashMap<Attributes, AggregatorHandle<T, U>> aggregatorHandles, Attributes attributes, Context context) Constructors in io.opentelemetry.sdk.metrics.internal.state with parameters of type AttributesModifierConstructorDescription(package private)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 AttributesModifierConstructorDescriptionprivateAggregatorHolder(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 AttributesModifier and TypeClassDescription(package private) classFiltered attributes is a filtered view of aImmutableKeyValuePairsbackedAttributesinstance.private static classImplementation that can handle attributes of arbitrary size by storing filter status in aBitSet.private static classImplementation 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 AttributesModifier and TypeFieldDescriptionprivate final AttributesAttributesProcessor.AppendingAttributesProcessor.additionalAttributesMethods in io.opentelemetry.sdk.metrics.internal.view that return AttributesModifier and TypeMethodDescriptionprivate static AttributesFilteredAttributes.convertToStandardImplementation(Attributes source) (package private) static AttributesFilteredAttributes.create(Attributes source, Set<AttributeKey<?>> includedKeys) Create aFilteredAttributesinstance.AdviceAttributesProcessor.process(Attributes incoming, Context context) AttributesProcessor.AppendingAttributesProcessor.process(Attributes incoming, Context context) AttributesProcessor.AttributeKeyFilteringProcessor.process(Attributes incoming, Context context) AttributesProcessor.BaggageAppendingAttributesProcessor.process(Attributes incoming, Context context) AttributesProcessor.JoinedAttributesProcessor.process(Attributes incoming, Context context) abstract AttributesAttributesProcessor.process(Attributes incoming, Context context) Manipulates a set of attributes, returning the desired set.NoopAttributesProcessor.process(Attributes incoming, Context context) Methods in io.opentelemetry.sdk.metrics.internal.view with parameters of type AttributesModifier and TypeMethodDescriptionstatic 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, Set<AttributeKey<?>> includedKeys) Create aFilteredAttributesinstance.AdviceAttributesProcessor.process(Attributes incoming, Context context) AttributesProcessor.AppendingAttributesProcessor.process(Attributes incoming, Context context) AttributesProcessor.AttributeKeyFilteringProcessor.process(Attributes incoming, Context context) AttributesProcessor.BaggageAppendingAttributesProcessor.process(Attributes incoming, Context context) AttributesProcessor.JoinedAttributesProcessor.process(Attributes incoming, Context context) abstract AttributesAttributesProcessor.process(Attributes incoming, Context context) Manipulates a set of attributes, returning the desired set.NoopAttributesProcessor.process(Attributes incoming, Context context) Constructors in io.opentelemetry.sdk.metrics.internal.view with parameters of type AttributesModifierConstructorDescriptionprivateAppendingAttributesProcessor(Attributes additionalAttributes) -
Uses of Attributes in io.opentelemetry.sdk.resources
Fields in io.opentelemetry.sdk.resources declared as AttributesMethods in io.opentelemetry.sdk.resources that return AttributesModifier and TypeMethodDescriptionAutoValue_Resource.getAttributes()abstract AttributesResource.getAttributes()Returns a map of attributes that describe the resource.Methods in io.opentelemetry.sdk.resources with parameters of type AttributesModifier and TypeMethodDescriptionprivate static voidResource.checkAttributes(Attributes attributes) static ResourceResource.create(Attributes attributes) Returns aResource.static ResourceResource.create(Attributes attributes, String schemaUrl) Returns aResource.ResourceBuilder.putAll(Attributes attributes) Puts allAttributesinto this.Constructors in io.opentelemetry.sdk.resources with parameters of type AttributesModifierConstructorDescription(package private)AutoValue_Resource(String schemaUrl, Attributes attributes) -
Uses of Attributes in io.opentelemetry.sdk.trace
Fields in io.opentelemetry.sdk.trace declared as AttributesMethods in io.opentelemetry.sdk.trace that return AttributesModifier and TypeMethodDescription(package private) AttributesAutoValue_SpanWrapper.attributes()(package private) abstract AttributesSpanWrapper.attributes()default AttributesReadableSpan.getAttributes()Returns the Span attributes.SdkSpan.getAttributes()SpanWrapper.getAttributes()private AttributesSdkSpan.getImmutableAttributes()Methods in io.opentelemetry.sdk.trace with parameters of type AttributesModifier and TypeMethodDescriptionSdkSpan.addEvent(String name, Attributes attributes) SdkSpan.addEvent(String name, Attributes attributes, long timestamp, TimeUnit unit) SdkSpan.addLink(SpanContext spanContext, Attributes attributes) SdkSpanBuilder.addLink(SpanContext spanContext, Attributes attributes) (package private) static SpanWrapperSpanWrapper.create(SdkSpan delegate, List<LinkData> links, List<EventData> events, Attributes attributes, int totalAttributeCount, int totalRecordedEvents, int totalRecordedLinks, StatusData status, 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.SdkSpan.recordException(Throwable exception, Attributes additionalAttributes) Constructors in io.opentelemetry.sdk.trace with parameters of type AttributesModifierConstructorDescription(package private)AutoValue_SpanWrapper(SdkSpan delegate, List<LinkData> resolvedLinks, List<EventData> resolvedEvents, Attributes attributes, int totalAttributeCount, int totalRecordedEvents, int totalRecordedLinks, StatusData status, String name, long endEpochNanos, boolean internalHasEnded) -
Uses of Attributes in io.opentelemetry.sdk.trace.data
Fields in io.opentelemetry.sdk.trace.data declared as AttributesModifier and TypeFieldDescriptionprivate final AttributesAutoValue_ImmutableEventData.attributesprivate final AttributesAutoValue_ImmutableExceptionEventData.attributesprivate final AttributesAutoValue_ImmutableLinkData.attributesprivate static final AttributesImmutableLinkData.DEFAULT_ATTRIBUTE_COLLECTIONMethods in io.opentelemetry.sdk.trace.data that return AttributesModifier and TypeMethodDescriptionAutoValue_ImmutableEventData.getAttributes()AutoValue_ImmutableExceptionEventData.getAttributes()AutoValue_ImmutableLinkData.getAttributes()DelegatingSpanData.getAttributes()EventData.getAttributes()Return the attributes of theEventData.LinkData.getAttributes()Returns the set of attributes.SpanData.getAttributes()Returns the attributes recorded for thisSpan.Methods in io.opentelemetry.sdk.trace.data with parameters of type AttributesModifier and TypeMethodDescriptionstatic EventDataEventData.create(long epochNanos, String name, Attributes attributes) Returns a new immutableEventData.static EventDataEventData.create(long epochNanos, String name, Attributes attributes, int totalAttributeCount) Returns a new immutableEventData.static ExceptionEventDataExceptionEventData.create(long epochNanos, Throwable exception, Attributes attributes, int totalAttributeCount) Returns a new immutableExceptionEventData.(package private) static EventDataImmutableEventData.create(long epochNanos, String name, Attributes attributes) Returns a new immutableEvent.(package private) static EventDataImmutableEventData.create(long epochNanos, String name, Attributes attributes, int totalAttributeCount) Returns a new immutableEvent.(package private) static ExceptionEventDataImmutableExceptionEventData.create(long epochNanos, 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 AttributesModifierConstructorDescription(package private)AutoValue_ImmutableEventData(String name, Attributes attributes, long epochNanos, int totalAttributeCount) (package private)AutoValue_ImmutableExceptionEventData(Attributes attributes, long epochNanos, int totalAttributeCount, Throwable exception) (package private)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 AttributesModifier and TypeFieldDescriptionprivate final AttributesBatchSpanProcessor.Worker.droppedAttrsprivate final AttributesBatchSpanProcessor.Worker.exportedAttrs -
Uses of Attributes in io.opentelemetry.sdk.trace.samplers
Fields in io.opentelemetry.sdk.trace.samplers declared as AttributesModifier and TypeFieldDescriptionprivate final AttributesAutoValue_ImmutableSamplingResult.attributesMethods in io.opentelemetry.sdk.trace.samplers that return AttributesModifier and TypeMethodDescriptionAutoValue_ImmutableSamplingResult.getAttributes()abstract AttributesImmutableSamplingResult.getAttributes()SamplingResult.getAttributes()Return tags which will be attached to the span.Methods in io.opentelemetry.sdk.trace.samplers with parameters of type AttributesModifier and TypeMethodDescriptionstatic SamplingResultSamplingResult.create(SamplingDecision decision, Attributes attributes) Returns aSamplingResultwith the givenattributesandSamplingResult.getDecision()returningdecision.(package private) static SamplingResultImmutableSamplingResult.createSamplingResult(SamplingDecision decision, Attributes attributes) AlwaysOffSampler.shouldSample(Context parentContext, String traceId, String name, SpanKind spanKind, Attributes attributes, List<LinkData> parentLinks) AlwaysOnSampler.shouldSample(Context parentContext, String traceId, String name, SpanKind spanKind, Attributes attributes, List<LinkData> parentLinks) ParentBasedSampler.shouldSample(Context parentContext, String traceId, String name, SpanKind spanKind, Attributes attributes, List<LinkData> parentLinks) Sampler.shouldSample(Context parentContext, String traceId, String name, SpanKind spanKind, Attributes attributes, List<LinkData> parentLinks) Called duringSpancreation to make a sampling samplingResult.TraceIdRatioBasedSampler.shouldSample(Context parentContext, String traceId, String name, SpanKind spanKind, Attributes attributes, List<LinkData> parentLinks) Constructors in io.opentelemetry.sdk.trace.samplers with parameters of type AttributesModifierConstructorDescription(package private)AutoValue_ImmutableSamplingResult(SamplingDecision decision, Attributes attributes)