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.
    • 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.
    • CONTAINER_CPU_STATE

      @Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_CPU_STATE
      Deprecated.
      Replaced by cpu.mode
      Deprecated, use cpu.mode instead.

    • CONTAINER_CSI_PLUGIN_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_CSI_PLUGIN_NAME
      The name of the CSI (Container Storage Interface) plugin used by the volume.

      Notes:

      This can sometimes be referred to as a "driver" in CSI implementations. This should represent the name field of the GetPluginInfo RPC.

    • CONTAINER_CSI_VOLUME_ID

      public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_CSI_VOLUME_ID
      The unique volume ID returned by the CSI (Container Storage Interface) plugin.

      Notes:

      This can sometimes be referred to as a "volume handle" in CSI implementations. This should represent the Volume.volume_id field in CSI spec.

    • 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 assigned 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.
      Replaced by container.label.
      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.