ResourceAttributes::CONTAINER_IMAGE_ID
Runtime specific image identifier. Usually a hash algorithm followed by a UUID.
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.
@example sha256:19c92d0a00d1b66d897bceaa7319bee0dd38a10a851c60bcec9474aa3f01e50f
File
-
vendor/
open-telemetry/ sem-conv/ ResourceAttributes.php, line 261
Class
Namespace
OpenTelemetry\SemConvCode
public const CONTAINER_IMAGE_ID = 'container.image.id';