You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/registry/attributes/container.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ A container instance.
23
23
| <aid="container-image-id"href="#container-image-id">`container.image.id`</a> || string | Runtime specific image identifier. Usually a hash algorithm followed by a UUID. [4]|`sha256:19c92d0a00d1b66d897bceaa7319bee0dd38a10a851c60bcec9474aa3f01e50f`|
24
24
| <aid="container-image-name"href="#container-image-name">`container.image.name`</a> || string | Name of the image the container was built on. |`gcr.io/opentelemetry/operator`|
25
25
| <aid="container-image-repo-digests"href="#container-image-repo-digests">`container.image.repo_digests`</a> || string[]| Repo digests of the container image as provided by the container runtime. [5]|`["example@sha256:afcc7f1ac1b49db317a7196c902e61c6c3c4607d63599ee1a82d702d249a0ccb", "internal.registry.example.com:5000/example@sha256:b69959407d21e8a062e0416bf13405bb2b71ed7a84dde4158ebafacfa06f5578"]`|
26
-
| <aid="container-image-tags"href="#container-image-tags">`container.image.tags`</a> || string[]| Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/reference/api/engine/version/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>`. |`["v1.27.1", "3.5.7-0"]`|
26
+
| <aid="container-image-tags"href="#container-image-tags">`container.image.tags`</a> || string[]| 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>`. |`["v1.27.1", "3.5.7-0"]`|
27
27
| <aid="container-label"href="#container-label">`container.label.<key>`</a> || string | Container labels, `<key>` being the label name, the value being the label value. [6]|`nginx`|
28
28
| <aid="container-name"href="#container-name">`container.name`</a> || string | Container name used by container runtime. |`opentelemetry-autoconf`|
29
29
| <aid="container-runtime-description"href="#container-runtime-description">`container.runtime.description`</a> || string | A description about the runtime which could include, for example details about the CRI/API version being used or other customisations. |`docker://19.3.1 - CRI: 1.22.0`|
@@ -36,11 +36,11 @@ A container instance.
36
36
37
37
**[3]`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.
38
38
39
-
**[4]`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](https://docs.docker.com/reference/api/engine/version/v1.43/#tag/Container/operation/ContainerInspect) endpoint.
39
+
**[4]`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](https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Container/operation/ContainerInspect) endpoint.
40
40
K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`.
41
41
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.
42
42
43
-
**[5]`container.image.repo_digests`:**[Docker](https://docs.docker.com/reference/api/engine/version/v1.43/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field.
43
+
**[5]`container.image.repo_digests`:**[Docker](https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field.
44
44
45
45
**[6]`container.label.<key>`:** For example, a docker container label `app` with value `nginx` SHOULD be recorded as the `container.label.app` attribute with value `"nginx"`.
Copy file name to clipboardExpand all lines: docs/registry/entities/container.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,14 +50,14 @@ An example can be found in [Example Image Manifest](https://github.com/openconta
50
50
| Other |[`container.image.id`](/docs/registry/attributes/container.md)||`Recommended`| string | Runtime specific image identifier. Usually a hash algorithm followed by a UUID. [4]|`sha256:19c92d0a00d1b66d897bceaa7319bee0dd38a10a851c60bcec9474aa3f01e50f`|
51
51
| Other |[`container.image.name`](/docs/registry/attributes/container.md)||`Recommended`| string | Name of the image the container was built on. |`gcr.io/opentelemetry/operator`|
52
52
| Other |[`container.image.repo_digests`](/docs/registry/attributes/container.md)||`Recommended`| string[]| Repo digests of the container image as provided by the container runtime. [5]|`["example@sha256:afcc7f1ac1b49db317a7196c902e61c6c3c4607d63599ee1a82d702d249a0ccb", "internal.registry.example.com:5000/example@sha256:b69959407d21e8a062e0416bf13405bb2b71ed7a84dde4158ebafacfa06f5578"]`|
53
-
| Other |[`container.image.tags`](/docs/registry/attributes/container.md)||`Recommended`| string[]| Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/reference/api/engine/version/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>`. |`["v1.27.1", "3.5.7-0"]`|
53
+
| Other |[`container.image.tags`](/docs/registry/attributes/container.md)||`Recommended`| string[]| 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>`. |`["v1.27.1", "3.5.7-0"]`|
54
54
55
55
56
-
**[4]`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](https://docs.docker.com/reference/api/engine/version/v1.43/#tag/Container/operation/ContainerInspect) endpoint.
56
+
**[4]`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](https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Container/operation/ContainerInspect) endpoint.
57
57
K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`.
58
58
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.
59
59
60
-
**[5]`container.image.repo_digests`:**[Docker](https://docs.docker.com/reference/api/engine/version/v1.43/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field.
60
+
**[5]`container.image.repo_digests`:**[Docker](https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field.
0 commit comments