Class ContainerIncubatingAttributes
java.lang.Object
io.opentelemetry.semconv.incubating.ContainerIncubatingAttributes
-
Nested Class Summary
Nested Classes -
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. [2]static final io.opentelemetry.api.common.AttributeKey<String>The full command run by the container as a single string representing the full command. [2]static final io.opentelemetry.api.common.AttributeKey<String>The CPU state for this data point.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.Deprecated, use `container.label` instead.static final io.opentelemetry.api.common.AttributeKey<String>Container name used by container runtime.static final io.opentelemetry.api.common.AttributeKey<String>The container runtime managing this container. -
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. [2] -
CONTAINER_COMMAND_LINE
The full command run by the container as a single string representing the full command. [2] -
CONTAINER_CPU_STATE
The CPU state for this data point. -
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 assinged 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.
- Docker defines a sha256 of the image id;
-
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. -
CONTAINER_LABELS
@Deprecated public static final io.opentelemetry.semconv.AttributeKeyTemplate<String> CONTAINER_LABELSDeprecated.Deprecated, use `container.label` instead.Deprecated, usecontainer.labelinstead. -
CONTAINER_NAME
Container name used by container runtime. -
CONTAINER_RUNTIME
The container runtime managing this container.
-