ContainerIncubatingAttributes
in
Semantic attributes and corresponding values for container.
Tags
Table of Contents
Constants
- CONTAINER_COMMAND = 'container.command'
- The command used to run the container (i.e. the command name).
- CONTAINER_COMMAND_ARGS = 'container.command_args'
- All the command arguments (including the command/executable itself) run by the container.
- CONTAINER_COMMAND_LINE = 'container.command_line'
- The full command run by the container as a single string representing the full command.
- CONTAINER_CSI_PLUGIN_NAME = 'container.csi.plugin.name'
- The name of the CSI ([Container Storage Interface](https://github.com/container-storage-interface/spec)) plugin used by the volume.
- CONTAINER_CSI_VOLUME_ID = 'container.csi.volume.id'
- The unique volume ID returned by the CSI ([Container Storage Interface](https://github.com/container-storage-interface/spec)) plugin.
- CONTAINER_ID = 'container.id'
- Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/containers/run/#container-identification). The UUID might be abbreviated.
- CONTAINER_IMAGE_ID = 'container.image.id'
- Runtime specific image identifier. Usually a hash algorithm followed by a UUID.
- CONTAINER_IMAGE_NAME = 'container.image.name'
- Name of the image the container was built on.
- CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'
- Repo digests of the container image as provided by the container runtime.
- CONTAINER_IMAGE_TAGS = 'container.image.tags'
- Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`.
- CONTAINER_LABEL = 'container.label'
- Container labels, `<key>` being the label name, the value being the label value.
- CONTAINER_NAME = 'container.name'
- Container name used by container runtime.
- CONTAINER_RUNTIME = 'container.runtime'
- The container runtime managing this container.
Constants
CONTAINER_COMMAND
The command used to run the container (i.e. the command name).
public
mixed
CONTAINER_COMMAND
= 'container.command'
If using embedded credentials or sensitive data, it is recommended to remove them to prevent potential leakage.
Tags
CONTAINER_COMMAND_ARGS
All the command arguments (including the command/executable itself) run by the container.
public
mixed
CONTAINER_COMMAND_ARGS
= 'container.command_args'
Tags
CONTAINER_COMMAND_LINE
The full command run by the container as a single string representing the full command.
public
mixed
CONTAINER_COMMAND_LINE
= 'container.command_line'
Tags
CONTAINER_CSI_PLUGIN_NAME
The name of the CSI ([Container Storage Interface](https://github.com/container-storage-interface/spec)) plugin used by the volume.
public
mixed
CONTAINER_CSI_PLUGIN_NAME
= 'container.csi.plugin.name'
This can sometimes be referred to as a "driver" in CSI implementations. This should represent the name
field of the GetPluginInfo RPC.
Tags
CONTAINER_CSI_VOLUME_ID
The unique volume ID returned by the CSI ([Container Storage Interface](https://github.com/container-storage-interface/spec)) plugin.
public
mixed
CONTAINER_CSI_VOLUME_ID
= 'container.csi.volume.id'
This can sometimes be referred to as a "volume handle" in CSI implementations. This should represent the Volume.volume_id
field in CSI spec.
Tags
CONTAINER_ID
Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/containers/run/#container-identification). The UUID might be abbreviated.
public
mixed
CONTAINER_ID
= 'container.id'
Tags
CONTAINER_IMAGE_ID
Runtime specific image identifier. Usually a hash algorithm followed by a UUID.
public
mixed
CONTAINER_IMAGE_ID
= 'container.image.id'
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.
Tags
CONTAINER_IMAGE_NAME
Name of the image the container was built on.
public
mixed
CONTAINER_IMAGE_NAME
= 'container.image.name'
Tags
CONTAINER_IMAGE_REPO_DIGESTS
Repo digests of the container image as provided by the container runtime.
public
mixed
CONTAINER_IMAGE_REPO_DIGESTS
= 'container.image.repo_digests'
Tags
CONTAINER_IMAGE_TAGS
Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`.
public
mixed
CONTAINER_IMAGE_TAGS
= 'container.image.tags'
Tags
CONTAINER_LABEL
Container labels, `<key>` being the label name, the value being the label value.
public
mixed
CONTAINER_LABEL
= 'container.label'
For example, a docker container label app
with value nginx
SHOULD be recorded as the container.label.app
attribute with value "nginx"
.
Tags
CONTAINER_NAME
Container name used by container runtime.
public
mixed
CONTAINER_NAME
= 'container.name'
Tags
CONTAINER_RUNTIME
The container runtime managing this container.
public
mixed
CONTAINER_RUNTIME
= 'container.runtime'