Class OtelIncubatingAttributes

java.lang.Object
io.opentelemetry.semconv.incubating.OtelIncubatingAttributes

public final class OtelIncubatingAttributes extends Object
  • Field Details

    • OTEL_COMPONENT_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> 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. 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.

    • OTEL_COMPONENT_TYPE

      public static final io.opentelemetry.api.common.AttributeKey<String> 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 public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_LIBRARY_NAME
      Deprecated.
      Replaced by otel.scope.name.
      Deprecated. Use the otel.scope.name attribute
    • OTEL_LIBRARY_VERSION

      @Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_LIBRARY_VERSION
      Deprecated.
      Replaced by otel.scope.version.
      Deprecated. Use the otel.scope.version attribute.
    • OTEL_SCOPE_NAME

      @Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_SCOPE_NAME
      Deprecated.
      deprecated in favor of stable OtelAttributes.OTEL_SCOPE_NAME attribute.
      The name of the instrumentation scope - (InstrumentationScope.Name in OTLP).
    • OTEL_SCOPE_SCHEMA_URL

      public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_SCOPE_SCHEMA_URL
      The schema URL of the instrumentation scope.
    • OTEL_SCOPE_VERSION

      @Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_SCOPE_VERSION
      Deprecated.
      deprecated in favor of stable OtelAttributes.OTEL_SCOPE_VERSION attribute.
      The version of the instrumentation scope - (InstrumentationScope.Version in OTLP).
    • OTEL_SPAN_PARENT_ORIGIN

      public static final io.opentelemetry.api.common.AttributeKey<String> 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

      public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_SPAN_SAMPLING_RESULT
      The result value of the sampler for this span
    • OTEL_STATUS_CODE

      @Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> OTEL_STATUS_CODE
      Deprecated.
      deprecated in favor of stable OtelAttributes.OTEL_STATUS_CODE attribute.
      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_DESCRIPTION
      Deprecated.
      deprecated in favor of stable OtelAttributes.OTEL_STATUS_DESCRIPTION attribute.
      Description of the Status if it has a value, otherwise not set.