A B C D E F G I K L M O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- asMap() - Method in interface io.opentelemetry.api.common.Attributes
-
Returns a read-only view of this
Attributes
as aMap
. - asMap() - Method in interface io.opentelemetry.api.common.Labels
- asMap() - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- AttributeKey<T> - Interface in io.opentelemetry.api.common
-
This interface provides a handle for setting the values of
Attributes
. - Attributes - Interface in io.opentelemetry.api.common
-
An immutable container for attributes.
- AttributesBuilder - Interface in io.opentelemetry.api.common
-
A builder of
Attributes
supporting an arbitrary number of key-value pairs. - AttributeType - Enum in io.opentelemetry.api.common
-
An enum that represents all the possible value types for an
AttributeKey
and hence the types of values that are allowed forAttributes
.
B
- BOOLEAN - io.opentelemetry.api.common.AttributeType
- BOOLEAN_ARRAY - io.opentelemetry.api.common.AttributeType
- booleanArrayKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for List<Boolean> valued attributes.
- booleanKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for Boolean valued attributes.
- build() - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Create the
Attributes
from this. - build() - Method in interface io.opentelemetry.api.common.LabelsBuilder
-
Create the
Labels
from this. - builder() - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a new
AttributesBuilder
instance for creating arbitraryAttributes
. - builder() - Static method in interface io.opentelemetry.api.common.Labels
-
Creates a new
LabelsBuilder
instance for creating arbitraryLabels
.
C
- checkArgument(boolean, String) - Static method in class io.opentelemetry.api.internal.Utils
-
Throws an
IllegalArgumentException
if the argument is false. - clear() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- containsKey(Object) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- containsValue(Object) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
D
- data() - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- DOUBLE - io.opentelemetry.api.common.AttributeType
- DOUBLE_ARRAY - io.opentelemetry.api.common.AttributeType
- doubleArrayKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for List<Double> valued attributes.
- doubleKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for Double valued attributes.
E
- empty() - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributes
instance with no attributes. - empty() - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with no attributes. - entrySet() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
F
- forEach(BiConsumer<AttributeKey<?>, Object>) - Method in interface io.opentelemetry.api.common.Attributes
-
Iterates over all the key-value pairs of attributes contained by this instance.
- forEach(BiConsumer<String, String>) - Method in interface io.opentelemetry.api.common.Labels
-
Iterates over all the key-value pairs of labels contained by this instance.
G
- get(AttributeKey<T>) - Method in interface io.opentelemetry.api.common.Attributes
-
Returns the value for the given
AttributeKey
, ornull
if not found. - get(Object) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- get(String) - Method in interface io.opentelemetry.api.common.Labels
-
Returns the value for the given
key
, ornull
if the key is not present. - get(K) - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
-
Returns the value for the given
key
, ornull
if the key is not present. - getKey() - Method in interface io.opentelemetry.api.common.AttributeKey
-
Returns the underlying String representation of the key.
- getType() - Method in interface io.opentelemetry.api.common.AttributeKey
-
Returns the type of attribute for this key.
I
- ImmutableKeyValuePairs<K,V> - Class in io.opentelemetry.api.internal
-
An immutable set of key-value pairs.
- ImmutableKeyValuePairs() - Constructor for class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- io.opentelemetry.api.common - package io.opentelemetry.api.common
-
This package contains code common across the OpenTelemetry APIs, including
Attributes
and classes/utilities for interacting with them. - io.opentelemetry.api.internal - package io.opentelemetry.api.internal
-
Interfaces and implementations that are internal to OpenTelemetry.
- isEmpty() - Method in interface io.opentelemetry.api.common.Attributes
-
Whether there are any attributes contained in this.
- isEmpty() - Method in interface io.opentelemetry.api.common.Labels
-
Returns whether this instance is empty (contains no labels).
- isEmpty() - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- isEmpty() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- isPrintableString(String) - Static method in class io.opentelemetry.api.internal.StringUtils
-
Determines whether the
String
contains only printable characters. - isValidMetricName(String) - Static method in class io.opentelemetry.api.internal.StringUtils
-
Determines whether the metric name contains a valid metric name.
K
- keySet() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
L
- Labels - Interface in io.opentelemetry.api.common
-
An immutable container for labels, which are key-value pairs of
String
s. - LabelsBuilder - Interface in io.opentelemetry.api.common
-
A builder of
Labels
supporting an arbitrary number of key-value pairs. - LONG - io.opentelemetry.api.common.AttributeType
- LONG_ARRAY - io.opentelemetry.api.common.AttributeType
- longArrayKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for List<Long> valued attributes.
- longKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for Long valued attributes.
M
- METRIC_NAME_MAX_LENGTH - Static variable in class io.opentelemetry.api.internal.StringUtils
O
- of(AttributeKey<T>, T) - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributes
instance with a single key-value pair. - of(AttributeKey<T>, T, AttributeKey<U>, U) - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributes
instance with two key-value pairs. - of(AttributeKey<T>, T, AttributeKey<U>, U, AttributeKey<V>, V) - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributes
instance with three key-value pairs. - of(AttributeKey<T>, T, AttributeKey<U>, U, AttributeKey<V>, V, AttributeKey<W>, W) - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributes
instance with four key-value pairs. - of(AttributeKey<T>, T, AttributeKey<U>, U, AttributeKey<V>, V, AttributeKey<W>, W, AttributeKey<X>, X) - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributes
instance with five key-value pairs. - of(AttributeKey<T>, T, AttributeKey<U>, U, AttributeKey<V>, V, AttributeKey<W>, W, AttributeKey<X>, X, AttributeKey<Y>, Y) - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributes
instance with the given key-value pairs. - of(String...) - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with the providedkeyValueLabelPairs
. - of(String, String) - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with a single key-value pair. - of(String, String, String, String) - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with two key-value pairs. - of(String, String, String, String, String, String) - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with three key-value pairs. - of(String, String, String, String, String, String, String, String) - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with four key-value pairs. - of(String, String, String, String, String, String, String, String, String, String) - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with five key-value pairs.
P
- put(AttributeKey<Long>, int) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a
AttributeKey
with associated value into this. - put(AttributeKey<T>, T) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a
AttributeKey
with associated value into this. - put(String, boolean) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a boolean attribute into this.
- put(String, boolean...) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a Boolean array attribute into this.
- put(String, double) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a double attribute into this.
- put(String, double...) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a Double array attribute into this.
- put(String, long) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a long attribute into this.
- put(String, long...) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a Long array attribute into this.
- put(String, String) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a String attribute into this.
- put(String, String) - Method in interface io.opentelemetry.api.common.LabelsBuilder
-
Puts a single label into this Builder.
- put(String, String...) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a String array attribute into this.
- put(K, V) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- putAll(Attributes) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts all the provided attributes into this Builder.
- putAll(Map<? extends K, ? extends V>) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
R
- ReadOnlyArrayMap<K,V> - Class in io.opentelemetry.api.internal
-
A read-only view of an array of key-value pairs.
- remove(Object) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
S
- size() - Method in interface io.opentelemetry.api.common.Attributes
-
The number of attributes contained in this.
- size() - Method in interface io.opentelemetry.api.common.Labels
-
The number of key-value pairs of labels in this instance.
- size() - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- size() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- sortAndFilter(Object[], boolean) - Static method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
-
Sorts and dedupes the key/value pairs in
data
. - sortAndFilter(Object[], boolean, Comparator<?>) - Static method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
-
Sorts and dedupes the key/value pairs in
data
. - STRING - io.opentelemetry.api.common.AttributeType
- STRING_ARRAY - io.opentelemetry.api.common.AttributeType
- stringArrayKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for List<String> valued attributes.
- stringKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for String valued attributes.
- StringUtils - Class in io.opentelemetry.api.internal
-
Internal utility methods for working with attribute keys, attribute values, and metric names.
T
- toBuilder() - Method in interface io.opentelemetry.api.common.Attributes
-
Returns a new
AttributesBuilder
instance populated with the data of thisAttributes
. - toBuilder() - Method in interface io.opentelemetry.api.common.Labels
-
Create a
LabelsBuilder
pre-populated with the contents of this Labels instance. - toString() - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- toString() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
U
- Utils - Class in io.opentelemetry.api.internal
-
General internal utility methods.
V
- valueOf(String) - Static method in enum io.opentelemetry.api.common.AttributeType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.opentelemetry.api.common.AttributeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
W
- wrap(List<Object>) - Static method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
-
Returns a read-only view of the given
array
.
All Classes All Packages