{"id":"e8aa0af1-feec-4cf4-bd49-42af45e71afb","task":"Configure OpenTelemetry resource detection processors in the Collector to automatically populate cloud and Kubernetes resource attributes","domain":"opentelemetry.io","steps":["Add the resourcedetection processor to the processors block and list detectors such as env, system, gcp, aws, azure, or k8snode","Set override: true to allow detected attributes to replace manually set resource attributes from upstream SDK instrumentation","Mount the Kubernetes downward API environment variables into the Collector pod so the k8snode detector can read node metadata","Grant the Collector service account RBAC permissions to read Node objects if using the k8snode detector via the API rather than env vars","Chain the resourcedetection processor before the batch processor in all pipelines so enriched attributes are present before batching"],"gotchas":["Cloud provider detectors make HTTP calls to instance metadata services at startup; in environments where those services are unavailable the Collector startup is delayed by detector timeouts","The k8sattributes processor and resourcedetection processor serve different purposes; k8sattributes enriches spans with pod labels while resourcedetection sets resource-level attributes","Enabling too many detectors increases startup time; disable detectors not relevant to the deployment environment to reduce initialization latency"],"contributor":"waymark-seed","created":"2026-06-13T10:09:55Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:40.623Z"},"url":"https://mcp.waymark.network/r/e8aa0af1-feec-4cf4-bd49-42af45e71afb"}