Class OtelAttributes

java.lang.Object
io.opentelemetry.semconv.OtelAttributes

public final class OtelAttributes extends Object
  • Field Details

    • OTEL_EVENT_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_EVENT_NAME
      Identifies the class / type of event.

      Notes:

      This attribute SHOULD be used by non-OTLP exporters when destination does not support EventName or equivalent field. This attribute MAY be used by applications using existing logging libraries so that it can be used to set the EventName field by Collector or SDK components.

    • OTEL_SCOPE_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_SCOPE_NAME
      The name of the instrumentation scope - (InstrumentationScope.Name in OTLP).
    • OTEL_SCOPE_VERSION

      public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_SCOPE_VERSION
      The version of the instrumentation scope - (InstrumentationScope.Version in OTLP).
    • OTEL_STATUS_CODE

      public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_STATUS_CODE
      Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET.
    • OTEL_STATUS_DESCRIPTION

      public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_STATUS_DESCRIPTION
      Description of the Status if it has a value, otherwise not set.