ContainerAttribute : string
Container attribute keys following OpenTelemetry semantic conventions.
These attribute names correspond to the Container resource attributes as defined in the OpenTelemetry semantic conventions specification.
Tags
Cases
- COMMAND = 'container.command'
- The command used to run the container.
- COMMAND_ARGS = 'container.command_args'
- All the command arguments (including the command/executable) as received.
- COMMAND_LINE = 'container.command_line'
- The full command run by the container.
- ID = 'container.id'
- Container ID.
- IMAGE_ID = 'container.image.id'
- Container image ID.
- IMAGE_NAME = 'container.image.name'
- Name of the image the container was built on.
- IMAGE_TAG = 'container.image.tag'
- Container image tag.
- NAME = 'container.name'
- Container name used by container runtime.
- RUNTIME = 'container.runtime'
- The container runtime managing this container.
Cases
COMMAND
The command used to run the container.
Example: "otelcontribcol"
COMMAND_ARGS
All the command arguments (including the command/executable) as received.
Example: ["otelcontribcol", "--config", "/etc/otel-config.yaml"]
COMMAND_LINE
The full command run by the container.
Example: "otelcontribcol --config /etc/otel-config.yaml"
ID
Container ID.
Usually a UUID, but this can be implementation-specific.
Example: "a3bf90e006b2"
IMAGE_ID
Container image ID.
Often a sha256 hash.
Example: "sha256:19c92d0a00d1b66d897bceaa7319bee0dd38a10a851c60bcec9474aa3f01e50f"
IMAGE_NAME
Name of the image the container was built on.
Example: "gcr.io/opentelemetry/operator"
IMAGE_TAG
Container image tag.
Example: "0.1"
NAME
Container name used by container runtime.
Example: "opentelemetry-autoconf"
RUNTIME
The container runtime managing this container.
Example: "docker", "containerd", "podman"