Class ContainerIncubatingAttributes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentelemetry.api.common.AttributeKey<String>The command used to run the container (i.e. the command name).All the command arguments (including the command/executable itself) run by the container.static final io.opentelemetry.api.common.AttributeKey<String>The full command run by the container as a single string representing the full command.static final io.opentelemetry.api.common.AttributeKey<String>Deprecated.Replaced bycpu.mode.static final io.opentelemetry.api.common.AttributeKey<String>The name of the CSI (Container Storage Interface) plugin used by the volume.static final io.opentelemetry.api.common.AttributeKey<String>The unique volume ID returned by the CSI (Container Storage Interface) plugin.static final io.opentelemetry.api.common.AttributeKey<String>Container ID.static final io.opentelemetry.api.common.AttributeKey<String>Runtime specific image identifier.static final io.opentelemetry.api.common.AttributeKey<String>Name of the image the container was built on.Repo digests of the container image as provided by the container runtime.Container image tags.static final io.opentelemetry.semconv.AttributeKeyTemplate<String>Container labels,<key>being the label name, the value being the label value.static final io.opentelemetry.semconv.AttributeKeyTemplate<String>Deprecated.Replaced bycontainer.label.static final io.opentelemetry.api.common.AttributeKey<String>Container name used by container runtime.static final io.opentelemetry.api.common.AttributeKey<String>Deprecated.Replaced bycontainer.runtime.name.static final io.opentelemetry.api.common.AttributeKey<String>A description about the runtime which could include, for example details about the CRI/API version being used or other customisations.static final io.opentelemetry.api.common.AttributeKey<String>The container runtime managing this container.static final io.opentelemetry.api.common.AttributeKey<String>The version of the runtime of this process, as returned by the runtime without modification. -
Method Summary
-
Field Details
-
CONTAINER_COMMAND
The command used to run the container (i.e. the command name).Notes:
If using embedded credentials or sensitive data, it is recommended to remove them to prevent potential leakage.
-
CONTAINER_COMMAND_ARGS
All the command arguments (including the command/executable itself) run by the container. -
CONTAINER_COMMAND_LINE
The full command run by the container as a single string representing the full command. -
CONTAINER_CPU_STATE
@Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> CONTAINER_CPU_STATEDeprecated.Replaced bycpu.mode.Deprecated, usecpu.modeinstead. -
CONTAINER_CSI_PLUGIN_NAME
The name of the CSI (Container Storage Interface) plugin used by the volume.Notes:
This can sometimes be referred to as a "driver" in CSI implementations. This should represent the
namefield of the GetPluginInfo RPC. -
CONTAINER_CSI_VOLUME_ID
The unique volume ID returned by the CSI (Container Storage Interface) plugin.Notes:
This can sometimes be referred to as a "volume handle" in CSI implementations. This should represent the
Volume.volume_idfield in CSI spec. -
CONTAINER_ID
Container ID. Usually a UUID, as for example used to identify Docker containers. The UUID might be abbreviated. -
CONTAINER_IMAGE_ID
Runtime specific image identifier. Usually a hash algorithm followed by a UUID.Notes:
Docker defines a sha256 of the image id;
container.image.idcorresponds to theImagefield 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 usingoci.manifest.digestif it is important to identify the same image in different environments/runtimes. -
CONTAINER_IMAGE_NAME
Name of the image the container was built on. -
CONTAINER_IMAGE_REPO_DIGESTS
-
CONTAINER_IMAGE_TAGS
Container image tags. An example can be found in Docker Image Inspect. Should be only the<tag>section of the full name for example fromregistry.example.com/my-org/my-image:<tag>. -
CONTAINER_LABEL
Container labels,<key>being the label name, the value being the label value.Notes:
For example, a docker container label
appwith valuenginxSHOULD be recorded as thecontainer.label.appattribute with value"nginx". -
CONTAINER_LABELS
@Deprecated public static final io.opentelemetry.semconv.AttributeKeyTemplate<String> CONTAINER_LABELSDeprecated.Replaced bycontainer.label.Deprecated, usecontainer.labelinstead. -
CONTAINER_NAME
Container name used by container runtime. -
CONTAINER_RUNTIME
Deprecated.Replaced bycontainer.runtime.name.The container runtime managing this container. -
CONTAINER_RUNTIME_DESCRIPTION
A description about the runtime which could include, for example details about the CRI/API version being used or other customisations. -
CONTAINER_RUNTIME_NAME
The container runtime managing this container. -
CONTAINER_RUNTIME_VERSION
The version of the runtime of this process, as returned by the runtime without modification.
-
cpu.mode.