Class OtelIncubatingAttributes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classValues forOTEL_COMPONENT_TYPE.static final classValues forOTEL_SPAN_PARENT_ORIGIN.static final classValues forOTEL_SPAN_SAMPLING_RESULT.static final classDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentelemetry.api.common.AttributeKey<String>A name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance.static final io.opentelemetry.api.common.AttributeKey<String>A name identifying the type of the OpenTelemetry component.static final io.opentelemetry.api.common.AttributeKey<String>Deprecated.Replaced byotel.scope.name.static final io.opentelemetry.api.common.AttributeKey<String>Deprecated.Replaced byotel.scope.version.static final io.opentelemetry.api.common.AttributeKey<String>Deprecated.deprecated in favor of stableOtelAttributes.OTEL_SCOPE_NAMEattribute.static final io.opentelemetry.api.common.AttributeKey<String>The schema URL of the instrumentation scope.static final io.opentelemetry.api.common.AttributeKey<String>Deprecated.deprecated in favor of stableOtelAttributes.OTEL_SCOPE_VERSIONattribute.static final io.opentelemetry.api.common.AttributeKey<String>Determines whether the span has a parent span, and if so, whether it is a remote parentstatic final io.opentelemetry.api.common.AttributeKey<String>The result value of the sampler for this spanstatic final io.opentelemetry.api.common.AttributeKey<String>Deprecated.deprecated in favor of stableOtelAttributes.OTEL_STATUS_CODEattribute.static final io.opentelemetry.api.common.AttributeKey<String>Deprecated.deprecated in favor of stableOtelAttributes.OTEL_STATUS_DESCRIPTIONattribute. -
Method Summary
-
Field Details
-
OTEL_COMPONENT_NAME
A name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance.Notes:
Implementations SHOULD ensure a low cardinality for this attribute, even across application or SDK restarts. E.g. implementations MUST NOT use UUIDs as values for this attribute.
Implementations MAY achieve these goals by following a
<otel.component.type>/<instance-counter>pattern, e.g.batching_span_processor/0. Herebyotel.component.typerefers to the corresponding attribute value of the component.The value of
instance-counterMAY be automatically assigned by the component and uniqueness within the enclosing SDK instance MUST be guaranteed. For example,<instance-counter>MAY be implemented by using a monotonically increasing counter (starting with0), which is incremented every time an instance of the given component type is started.With this implementation, for example the first Batching Span Processor would have
batching_span_processor/0asotel.component.name, the second onebatching_span_processor/1and so on. These values will therefore be reused in the case of an application restart. -
OTEL_COMPONENT_TYPE
A name identifying the type of the OpenTelemetry component.Notes:
If none of the standardized values apply, implementations SHOULD use the language-defined name of the type. E.g. for Java the fully qualified classname SHOULD be used in this case.
-
OTEL_LIBRARY_NAME
Deprecated.Replaced byotel.scope.name.Deprecated. Use theotel.scope.nameattribute -
OTEL_LIBRARY_VERSION
@Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_LIBRARY_VERSIONDeprecated.Replaced byotel.scope.version.Deprecated. Use theotel.scope.versionattribute. -
OTEL_SCOPE_NAME
Deprecated.deprecated in favor of stableOtelAttributes.OTEL_SCOPE_NAMEattribute.The name of the instrumentation scope - (InstrumentationScope.Namein OTLP). -
OTEL_SCOPE_SCHEMA_URL
The schema URL of the instrumentation scope. -
OTEL_SCOPE_VERSION
Deprecated.deprecated in favor of stableOtelAttributes.OTEL_SCOPE_VERSIONattribute.The version of the instrumentation scope - (InstrumentationScope.Versionin OTLP). -
OTEL_SPAN_PARENT_ORIGIN
Determines whether the span has a parent span, and if so, whether it is a remote parent -
OTEL_SPAN_SAMPLING_RESULT
The result value of the sampler for this span -
OTEL_STATUS_CODE
Deprecated.deprecated in favor of stableOtelAttributes.OTEL_STATUS_CODEattribute.Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. -
OTEL_STATUS_DESCRIPTION
@Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_STATUS_DESCRIPTIONDeprecated.deprecated in favor of stableOtelAttributes.OTEL_STATUS_DESCRIPTIONattribute.Description of the Status if it has a value, otherwise not set.
-
OtelAttributes.OtelStatusCodeValues.