Skip to content

Commit 9babb0a

Browse files
authored
Update README for infraattributesprocessor (#34797)
1 parent 923d602 commit 9babb0a

File tree

1 file changed

+2
-2
lines changed
  • comp/otelcol/otlp/components/processor/infraattributesprocessor

1 file changed

+2
-2
lines changed

comp/otelcol/otlp/components/processor/infraattributesprocessor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ The cardinality option sets the [TagCardinality](../../../../../../comp/core/tag
3939

4040
## Expected Attributes
4141

42-
The infra attributes processor [looks up the following resource attributes](https://github.com/DataDog/datadog-agent/blob/7d51e9e0dc9fb52aab468b372a5724eece97538c/comp/otelcol/otlp/components/processor/infraattributesprocessor/metrics.go#L42-L77) in order to extract Kubernetes Tags. These resource attributes can be set in your SDK or in your otel-agent collector configuration:
42+
The infra attributes processor [looks up the following resource attributes](https://github.com/DataDog/datadog-agent/blob/a7e58c617398e40e4d9f730f855b5bda963f3d42/comp/otelcol/otlp/components/processor/infraattributesprocessor/common.go#L90-L125) in order to extract Kubernetes Tags. These resource attributes can be set in your SDK or in your otel-agent collector configuration:
4343

4444
| *[Entity](../../../../../../comp/core/tagger/README.md#entity-ids)* | *Resource Attributes* |
4545
|----------------------------------------------------------------------|---------------------------------------------|
4646
| workloadmeta.KindContainer | `container.id` |
47-
| workloadmeta.KindContainerImageMetadata | `container.image.id` |
47+
| workloadmeta.KindContainerImageMetadata | `oci.manifest.digest` |
4848
| workloadmeta.KindECSTask | `aws.ecs.task.arn` |
4949
| workloadmeta.KindKubernetesDeployment | `k8s.deployment.name`, `k8s.namespace.name` |
5050
| workloadmeta.KindKubernetesMetadata | `k8s.namespace.name`, `k8s.node.name` |

0 commit comments

Comments
 (0)