Class ContainerIncubatingAttributes

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

public final class ContainerIncubatingAttributes extends Object
  • Field Details

    • CONTAINER_COMMAND

      public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_COMMAND
      The command used to run the container (i.e. the command name).

      Notes:

      • If using embedded credentials or sensitive data, it is recommended to remove them to prevent potential leakage.
    • CONTAINER_COMMAND_ARGS

      public static final io.opentelemetry.api.common.AttributeKey<List<String>> CONTAINER_COMMAND_ARGS
      All the command arguments (including the command/executable itself) run by the container. [2]
    • CONTAINER_COMMAND_LINE

      public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_COMMAND_LINE
      The full command run by the container as a single string representing the full command. [2]
    • CONTAINER_CPU_STATE

      public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_CPU_STATE
      The CPU state for this data point.
    • CONTAINER_ID

      public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_ID
      Container ID. Usually a UUID, as for example used to identify Docker containers. The UUID might be abbreviated.
    • CONTAINER_IMAGE_ID

      public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_IMAGE_ID
      Runtime specific image identifier. Usually a hash algorithm followed by a UUID.

      Notes:

      • Docker defines a sha256 of the image id; container.image.id corresponds to the Image field from the Docker container inspect API endpoint. K8s defines a link to the container registry repository with digest "imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625". The ID is assinged by the container runtime and can vary in different environments. Consider using oci.manifest.digest if it is important to identify the same image in different environments/runtimes.
    • CONTAINER_IMAGE_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_IMAGE_NAME
      Name of the image the container was built on.
    • CONTAINER_IMAGE_REPO_DIGESTS

      public static final io.opentelemetry.api.common.AttributeKey<List<String>> CONTAINER_IMAGE_REPO_DIGESTS
      Repo digests of the container image as provided by the container runtime.

      Notes:

      • Docker and CRI report those under the RepoDigests field.
    • CONTAINER_IMAGE_TAGS

      public static final io.opentelemetry.api.common.AttributeKey<List<String>> CONTAINER_IMAGE_TAGS
      Container image tags. An example can be found in Docker Image Inspect. Should be only the <tag> section of the full name for example from registry.example.com/my-org/my-image:<tag>.
    • CONTAINER_LABEL

      public static final io.opentelemetry.semconv.AttributeKeyTemplate<String> CONTAINER_LABEL
      Container labels, <key> being the label name, the value being the label value.
    • CONTAINER_LABELS

      @Deprecated public static final io.opentelemetry.semconv.AttributeKeyTemplate<String> CONTAINER_LABELS
      Deprecated.
      Deprecated, use `container.label` instead.
      Deprecated, use container.label instead.
    • CONTAINER_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_NAME
      Container name used by container runtime.
    • CONTAINER_RUNTIME

      public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_RUNTIME
      The container runtime managing this container.