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 AttributesBuilderAttributes.builder()Returns a newAttributesBuilderinstance 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 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.ArrayBackedAttributesBuilder.putAll(Attributes attributes) AttributesBuilder.putAll(Attributes attributes) Puts all the provided attributes into this Builder.ArrayBackedAttributesBuilder.remove(AttributeKey<T> key) default <T> AttributesBuilderAttributesBuilder.remove(AttributeKey<T> key) ArrayBackedAttributesBuilder.removeIf(Predicate<AttributeKey<?>> predicate) default AttributesBuilderAttributesBuilder.removeIf(Predicate<AttributeKey<?>> filter) Remove all attributes that satisfy the given predicate.ArrayBackedAttributes.toBuilder()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 -
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> voidFilteredAttributes.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 AttributesBuilderResourceBuilder.attributesBuilder