rama::telemetry::opentelemetry::semantic_conventions::attribute

Constant CONTAINER_IMAGE_ID

pub const CONTAINER_IMAGE_ID: &'static str;
Expand description

Runtime specific image identifier. Usually a hash algorithm followed by a UUID.

§Notes

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.

§Examples

  • "sha256:19c92d0a00d1b66d897bceaa7319bee0dd38a10a851c60bcec9474aa3f01e50f"