OtelAttributes
in
Semantic attributes and corresponding values for otel.
Tags
Table of Contents
Constants
- OTEL_SCOPE_NAME = 'otel.scope.name'
- The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP).
- OTEL_SCOPE_VERSION = 'otel.scope.version'
- The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP).
- 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_SCOPE_NAME
The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP).
public
mixed
OTEL_SCOPE_NAME
= 'otel.scope.name'
Tags
OTEL_SCOPE_VERSION
The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP).
public
mixed
OTEL_SCOPE_VERSION
= 'otel.scope.version'
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'