Uses of Interface
io.opentelemetry.api.common.AttributesBuilder
Packages that use AttributesBuilder
Package
Description
This package contains code common across the OpenTelemetry APIs, including
Attributes
and classes/utilities for interacting with them.Interfaces and implementations that are internal to OpenTelemetry.
View related internal classes.
API for resource information population.
-
Uses of AttributesBuilder in io.opentelemetry.api.common
Classes in io.opentelemetry.api.common that implement AttributesBuilderMethods in io.opentelemetry.api.common that return AttributesBuilderModifier and TypeMethodDescriptionstatic AttributesBuilder
Attributes.builder()
Returns a newAttributesBuilder
instance for creating arbitraryAttributes
.ArrayBackedAttributesBuilder.put
(AttributeKey<Long> key, int value) ArrayBackedAttributesBuilder.put
(AttributeKey<T> key, T value) AttributesBuilder.put
(AttributeKey<Long> key, int value) Puts aAttributeKey
with associated value into this.default <T> AttributesBuilder
AttributesBuilder.put
(AttributeKey<List<T>> key, T... value) Puts a List attribute into this.AttributesBuilder.put
(AttributeKey<T> key, T value) Puts aAttributeKey
with associated value into this.default AttributesBuilder
Puts a boolean attribute into this.default AttributesBuilder
Puts a Boolean array attribute into this.default AttributesBuilder
Puts a double attribute into this.default AttributesBuilder
Puts a Double array attribute into this.default AttributesBuilder
Puts a long attribute into this.default AttributesBuilder
Puts a Long array attribute into this.default AttributesBuilder
Puts a String attribute into this.default AttributesBuilder
Puts a String array attribute into this.ArrayBackedAttributesBuilder.putAll
(Attributes attributes) AttributesBuilder.putAll
(Attributes attributes) Puts all the provided attributes into this Builder.ArrayBackedAttributesBuilder.remove
(AttributeKey<T> key) default <T> AttributesBuilder
AttributesBuilder.remove
(AttributeKey<T> key) ArrayBackedAttributesBuilder.removeIf
(Predicate<AttributeKey<?>> predicate) default AttributesBuilder
AttributesBuilder.removeIf
(Predicate<AttributeKey<?>> filter) Remove all attributes that satisfy the given predicate.ArrayBackedAttributes.toBuilder()
Attributes.toBuilder()
Returns a newAttributesBuilder
instance populated with the data of thisAttributes
. -
Uses of AttributesBuilder in io.opentelemetry.sdk.internal
Methods in io.opentelemetry.sdk.internal that return AttributesBuilder -
Uses of AttributesBuilder in io.opentelemetry.sdk.metrics.internal.view
Methods in io.opentelemetry.sdk.metrics.internal.view that return AttributesBuilderMethods in io.opentelemetry.sdk.metrics.internal.view with parameters of type AttributesBuilderModifier and TypeMethodDescriptionprivate static <T> void
FilteredAttributes.putInBuilder
(AttributesBuilder builder, AttributeKey<T> key, T value) -
Uses of AttributesBuilder in io.opentelemetry.sdk.resources
Fields in io.opentelemetry.sdk.resources declared as AttributesBuilderModifier and TypeFieldDescriptionprivate final AttributesBuilder
ResourceBuilder.attributesBuilder