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.
-
Uses of AttributesBuilder in io.opentelemetry.api.common
Methods in io.opentelemetry.api.common that return AttributesBuilderModifier and TypeMethodDescriptionstatic AttributesBuilderAttributes.builder()Returns a newAttributesBuilderinstance for creating arbitraryAttributes.AttributesBuilder.put(AttributeKey<Long> key, int value) Puts aAttributeKeywith associated value into this.default <T> AttributesBuilderAttributesBuilder.put(AttributeKey<List<T>> key, T... value) Puts a List attribute into this.AttributesBuilder.put(AttributeKey<T> key, T value) Puts aAttributeKeywith associated value into this.default AttributesBuilderPuts a boolean attribute into this.default AttributesBuilderPuts a Boolean array attribute into this.default AttributesBuilderPuts a double attribute into this.default AttributesBuilderPuts a Double array attribute into this.default AttributesBuilderPuts a long attribute into this.default AttributesBuilderPuts a Long array attribute into this.default AttributesBuilderPuts a String attribute into this.default AttributesBuilderPuts a String array attribute into this.AttributesBuilder.putAll(Attributes attributes) Puts all the provided attributes into this Builder.default <T> AttributesBuilderAttributesBuilder.remove(AttributeKey<T> key) default AttributesBuilderAttributesBuilder.removeIf(Predicate<AttributeKey<?>> filter) Remove all attributes that satisfy the given predicate.Attributes.toBuilder()Returns a newAttributesBuilderinstance populated with the data of thisAttributes. -
Uses of AttributesBuilder in io.opentelemetry.sdk.internal
Methods in io.opentelemetry.sdk.internal that return AttributesBuilder