Class ContainerAttributes

java.lang.Object
io.opentelemetry.semconv.ContainerAttributes

public final class ContainerAttributes extends Object
  • Field Details

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