OpenTelemetry PHP

ContainerAttributes

Semantic attributes and corresponding values for container.

Tags
see
https://opentelemetry.io/docs/specs/semconv/registry/attributes/container/

Table of Contents

Constants

CONTAINER_ID  : mixed = '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_NAME  : mixed = 'container.image.name'
Name of the image the container was built on.
CONTAINER_IMAGE_REPO_DIGESTS  : mixed = 'container.image.repo_digests'
Repository digests of the container image as provided by the container runtime.
CONTAINER_IMAGE_TAGS  : mixed = 'container.image.tags'
Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/reference/api/engine/version/v1.52/#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>`.

Constants

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
stable

CONTAINER_IMAGE_NAME

Name of the image the container was built on.

public mixed CONTAINER_IMAGE_NAME = 'container.image.name'
Tags
stable

CONTAINER_IMAGE_REPO_DIGESTS

Repository digests of the container image as provided by the container runtime.

public mixed CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'

Docker and CRI report those under the RepoDigests field.

Tags
stable

CONTAINER_IMAGE_TAGS

Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/reference/api/engine/version/v1.52/#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
stable
On this page

Search results