OtelIncubatingAttributes
in
Semantic attributes and corresponding values for otel.
Tags
Table of Contents
Constants
- OTEL_COMPONENT_NAME = 'otel.component.name'
- A name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance.
- OTEL_COMPONENT_TYPE = 'otel.component.type'
- A name identifying the type of the OpenTelemetry component.
- OTEL_COMPONENT_TYPE_VALUE_BATCHING_LOG_PROCESSOR = 'batching_log_processor'
- The builtin SDK batching log record processor
- OTEL_COMPONENT_TYPE_VALUE_BATCHING_SPAN_PROCESSOR = 'batching_span_processor'
- The builtin SDK batching span processor
- OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_LOG_EXPORTER = 'otlp_grpc_log_exporter'
- OTLP log record exporter over gRPC with protobuf serialization
- OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_METRIC_EXPORTER = 'otlp_grpc_metric_exporter'
- OTLP metric exporter over gRPC with protobuf serialization
- OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_SPAN_EXPORTER = 'otlp_grpc_span_exporter'
- OTLP span exporter over gRPC with protobuf serialization
- OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_JSON_LOG_EXPORTER = 'otlp_http_json_log_exporter'
- OTLP log record exporter over HTTP with JSON serialization
- OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_JSON_METRIC_EXPORTER = 'otlp_http_json_metric_exporter'
- OTLP metric exporter over HTTP with JSON serialization
- OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_JSON_SPAN_EXPORTER = 'otlp_http_json_span_exporter'
- OTLP span exporter over HTTP with JSON serialization
- OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_LOG_EXPORTER = 'otlp_http_log_exporter'
- OTLP log record exporter over HTTP with protobuf serialization
- OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_METRIC_EXPORTER = 'otlp_http_metric_exporter'
- OTLP metric exporter over HTTP with protobuf serialization
- OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_SPAN_EXPORTER = 'otlp_http_span_exporter'
- OTLP span exporter over HTTP with protobuf serialization
- OTEL_COMPONENT_TYPE_VALUE_PERIODIC_METRIC_READER = 'periodic_metric_reader'
- The builtin SDK periodically exporting metric reader
- OTEL_COMPONENT_TYPE_VALUE_PROMETHEUS_HTTP_TEXT_METRIC_EXPORTER = 'prometheus_http_text_metric_exporter'
- Prometheus metric exporter over HTTP with the default text-based format
- OTEL_COMPONENT_TYPE_VALUE_SIMPLE_LOG_PROCESSOR = 'simple_log_processor'
- The builtin SDK simple log record processor
- OTEL_COMPONENT_TYPE_VALUE_SIMPLE_SPAN_PROCESSOR = 'simple_span_processor'
- The builtin SDK simple span processor
- OTEL_COMPONENT_TYPE_VALUE_ZIPKIN_HTTP_SPAN_EXPORTER = 'zipkin_http_span_exporter'
- Zipkin span exporter over HTTP
- OTEL_SCOPE_NAME = 'otel.scope.name'
- The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP).
- OTEL_SCOPE_SCHEMA_URL = 'otel.scope.schema_url'
- The schema URL of the instrumentation scope.
- OTEL_SCOPE_VERSION = 'otel.scope.version'
- The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP).
- OTEL_SPAN_PARENT_ORIGIN = 'otel.span.parent.origin'
- Determines whether the span has a parent span, and if so, [whether it is a remote parent](https://opentelemetry.io/docs/specs/otel/trace/api/#isremote)
- OTEL_SPAN_PARENT_ORIGIN_VALUE_LOCAL = 'local'
- The span has a parent and the parent's span context [isRemote()](https://opentelemetry.io/docs/specs/otel/trace/api/#isremote) is false
- OTEL_SPAN_PARENT_ORIGIN_VALUE_NONE = 'none'
- The span does not have a parent, it is a root span
- OTEL_SPAN_PARENT_ORIGIN_VALUE_REMOTE = 'remote'
- The span has a parent and the parent's span context [isRemote()](https://opentelemetry.io/docs/specs/otel/trace/api/#isremote) is true
- OTEL_SPAN_SAMPLING_RESULT = 'otel.span.sampling_result'
- The result value of the sampler for this span
- OTEL_SPAN_SAMPLING_RESULT_VALUE_DROP = 'DROP'
- The span is not sampled and not recording
- OTEL_SPAN_SAMPLING_RESULT_VALUE_RECORD_AND_SAMPLE = 'RECORD_AND_SAMPLE'
- The span is sampled and recording
- OTEL_SPAN_SAMPLING_RESULT_VALUE_RECORD_ONLY = 'RECORD_ONLY'
- The span is not sampled, but recording
- OTEL_STATUS_CODE = 'otel.status_code'
- Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET.
- OTEL_STATUS_CODE_VALUE_ERROR = 'ERROR'
- The operation contains an error.
- OTEL_STATUS_CODE_VALUE_OK = 'OK'
- The operation has been validated by an Application developer or Operator to have completed successfully.
- OTEL_STATUS_DESCRIPTION = 'otel.status_description'
- Description of the Status if it has a value, otherwise not set.
Constants
OTEL_COMPONENT_NAME
A name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance.
public
mixed
OTEL_COMPONENT_NAME
= 'otel.component.name'
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
.
Hereby otel.component.type
refers to the corresponding attribute value of the component.
The value of instance-counter
MAY 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 with 0
), 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/0
as otel.component.name
, the second one batching_span_processor/1
and so on.
These values will therefore be reused in the case of an application restart.
Tags
OTEL_COMPONENT_TYPE
A name identifying the type of the OpenTelemetry component.
public
mixed
OTEL_COMPONENT_TYPE
= 'otel.component.type'
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.
Tags
OTEL_COMPONENT_TYPE_VALUE_BATCHING_LOG_PROCESSOR
The builtin SDK batching log record processor
public
mixed
OTEL_COMPONENT_TYPE_VALUE_BATCHING_LOG_PROCESSOR
= 'batching_log_processor'
Tags
OTEL_COMPONENT_TYPE_VALUE_BATCHING_SPAN_PROCESSOR
The builtin SDK batching span processor
public
mixed
OTEL_COMPONENT_TYPE_VALUE_BATCHING_SPAN_PROCESSOR
= 'batching_span_processor'
Tags
OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_LOG_EXPORTER
OTLP log record exporter over gRPC with protobuf serialization
public
mixed
OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_LOG_EXPORTER
= 'otlp_grpc_log_exporter'
Tags
OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_METRIC_EXPORTER
OTLP metric exporter over gRPC with protobuf serialization
public
mixed
OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_METRIC_EXPORTER
= 'otlp_grpc_metric_exporter'
Tags
OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_SPAN_EXPORTER
OTLP span exporter over gRPC with protobuf serialization
public
mixed
OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_SPAN_EXPORTER
= 'otlp_grpc_span_exporter'
Tags
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_JSON_LOG_EXPORTER
OTLP log record exporter over HTTP with JSON serialization
public
mixed
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_JSON_LOG_EXPORTER
= 'otlp_http_json_log_exporter'
Tags
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_JSON_METRIC_EXPORTER
OTLP metric exporter over HTTP with JSON serialization
public
mixed
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_JSON_METRIC_EXPORTER
= 'otlp_http_json_metric_exporter'
Tags
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_JSON_SPAN_EXPORTER
OTLP span exporter over HTTP with JSON serialization
public
mixed
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_JSON_SPAN_EXPORTER
= 'otlp_http_json_span_exporter'
Tags
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_LOG_EXPORTER
OTLP log record exporter over HTTP with protobuf serialization
public
mixed
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_LOG_EXPORTER
= 'otlp_http_log_exporter'
Tags
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_METRIC_EXPORTER
OTLP metric exporter over HTTP with protobuf serialization
public
mixed
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_METRIC_EXPORTER
= 'otlp_http_metric_exporter'
Tags
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_SPAN_EXPORTER
OTLP span exporter over HTTP with protobuf serialization
public
mixed
OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_SPAN_EXPORTER
= 'otlp_http_span_exporter'
Tags
OTEL_COMPONENT_TYPE_VALUE_PERIODIC_METRIC_READER
The builtin SDK periodically exporting metric reader
public
mixed
OTEL_COMPONENT_TYPE_VALUE_PERIODIC_METRIC_READER
= 'periodic_metric_reader'
Tags
OTEL_COMPONENT_TYPE_VALUE_PROMETHEUS_HTTP_TEXT_METRIC_EXPORTER
Prometheus metric exporter over HTTP with the default text-based format
public
mixed
OTEL_COMPONENT_TYPE_VALUE_PROMETHEUS_HTTP_TEXT_METRIC_EXPORTER
= 'prometheus_http_text_metric_exporter'
Tags
OTEL_COMPONENT_TYPE_VALUE_SIMPLE_LOG_PROCESSOR
The builtin SDK simple log record processor
public
mixed
OTEL_COMPONENT_TYPE_VALUE_SIMPLE_LOG_PROCESSOR
= 'simple_log_processor'
Tags
OTEL_COMPONENT_TYPE_VALUE_SIMPLE_SPAN_PROCESSOR
The builtin SDK simple span processor
public
mixed
OTEL_COMPONENT_TYPE_VALUE_SIMPLE_SPAN_PROCESSOR
= 'simple_span_processor'
Tags
OTEL_COMPONENT_TYPE_VALUE_ZIPKIN_HTTP_SPAN_EXPORTER
Zipkin span exporter over HTTP
public
mixed
OTEL_COMPONENT_TYPE_VALUE_ZIPKIN_HTTP_SPAN_EXPORTER
= 'zipkin_http_span_exporter'
Tags
OTEL_SCOPE_NAME
The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP).
public
mixed
OTEL_SCOPE_NAME
= 'otel.scope.name'
Tags
OTEL_SCOPE_SCHEMA_URL
The schema URL of the instrumentation scope.
public
mixed
OTEL_SCOPE_SCHEMA_URL
= 'otel.scope.schema_url'
Tags
OTEL_SCOPE_VERSION
The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP).
public
mixed
OTEL_SCOPE_VERSION
= 'otel.scope.version'
Tags
OTEL_SPAN_PARENT_ORIGIN
Determines whether the span has a parent span, and if so, [whether it is a remote parent](https://opentelemetry.io/docs/specs/otel/trace/api/#isremote)
public
mixed
OTEL_SPAN_PARENT_ORIGIN
= 'otel.span.parent.origin'
Tags
OTEL_SPAN_PARENT_ORIGIN_VALUE_LOCAL
The span has a parent and the parent's span context [isRemote()](https://opentelemetry.io/docs/specs/otel/trace/api/#isremote) is false
public
mixed
OTEL_SPAN_PARENT_ORIGIN_VALUE_LOCAL
= 'local'
Tags
OTEL_SPAN_PARENT_ORIGIN_VALUE_NONE
The span does not have a parent, it is a root span
public
mixed
OTEL_SPAN_PARENT_ORIGIN_VALUE_NONE
= 'none'
Tags
OTEL_SPAN_PARENT_ORIGIN_VALUE_REMOTE
The span has a parent and the parent's span context [isRemote()](https://opentelemetry.io/docs/specs/otel/trace/api/#isremote) is true
public
mixed
OTEL_SPAN_PARENT_ORIGIN_VALUE_REMOTE
= 'remote'
Tags
OTEL_SPAN_SAMPLING_RESULT
The result value of the sampler for this span
public
mixed
OTEL_SPAN_SAMPLING_RESULT
= 'otel.span.sampling_result'
Tags
OTEL_SPAN_SAMPLING_RESULT_VALUE_DROP
The span is not sampled and not recording
public
mixed
OTEL_SPAN_SAMPLING_RESULT_VALUE_DROP
= 'DROP'
Tags
OTEL_SPAN_SAMPLING_RESULT_VALUE_RECORD_AND_SAMPLE
The span is sampled and recording
public
mixed
OTEL_SPAN_SAMPLING_RESULT_VALUE_RECORD_AND_SAMPLE
= 'RECORD_AND_SAMPLE'
Tags
OTEL_SPAN_SAMPLING_RESULT_VALUE_RECORD_ONLY
The span is not sampled, but recording
public
mixed
OTEL_SPAN_SAMPLING_RESULT_VALUE_RECORD_ONLY
= 'RECORD_ONLY'
Tags
OTEL_STATUS_CODE
Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET.
public
mixed
OTEL_STATUS_CODE
= 'otel.status_code'
Tags
OTEL_STATUS_CODE_VALUE_ERROR
The operation contains an error.
public
mixed
OTEL_STATUS_CODE_VALUE_ERROR
= 'ERROR'
Tags
OTEL_STATUS_CODE_VALUE_OK
The operation has been validated by an Application developer or Operator to have completed successfully.
public
mixed
OTEL_STATUS_CODE_VALUE_OK
= 'OK'
Tags
OTEL_STATUS_DESCRIPTION
Description of the Status if it has a value, otherwise not set.
public
mixed
OTEL_STATUS_DESCRIPTION
= 'otel.status_description'