Package io.opentelemetry.semconv
Class OtelAttributes
java.lang.Object
io.opentelemetry.semconv.OtelAttributes
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentelemetry.api.common.AttributeKey<String> Identifies the class / type of event.static final io.opentelemetry.api.common.AttributeKey<String> The name of the instrumentation scope - (InstrumentationScope.Namein OTLP).static final io.opentelemetry.api.common.AttributeKey<String> The version of the instrumentation scope - (InstrumentationScope.Versionin OTLP).static final io.opentelemetry.api.common.AttributeKey<String> Name of the code, either "OK" or "ERROR".static final io.opentelemetry.api.common.AttributeKey<String> Description of the Status if it has a value, otherwise not set. -
Method Summary
-
Field Details
-
OTEL_EVENT_NAME
Identifies the class / type of event.Notes:
This attribute SHOULD be used by non-OTLP exporters when destination does not support
EventNameor equivalent field. This attribute MAY be used by applications using existing logging libraries so that it can be used to set theEventNamefield by Collector or SDK components. -
OTEL_SCOPE_NAME
The name of the instrumentation scope - (InstrumentationScope.Namein OTLP). -
OTEL_SCOPE_VERSION
The version of the instrumentation scope - (InstrumentationScope.Versionin OTLP). -
OTEL_STATUS_CODE
Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. -
OTEL_STATUS_DESCRIPTION
Description of the Status if it has a value, otherwise not set.
-