Component(s)
processor/k8sattributes
Describe the issue you're reporting
Currently, when the k8sattributesprocessor attempts to enrich resource attributes using Kubernetes pod metadata, it silently fails if the pod cannot be found based on the provided identifier. There is no explicit log message or indication when this lookup fails. As a result, operators and developers lack visibility into why certain spans, logs, or metrics are missing expected Kubernetes metadata (such as service.name and service.namespace). This makes it difficult to troubleshoot issues related to resource attribute enrichment, especially in environments where observability signals may originate from pods on different nodes for example.
The absence of clear logging for failed pod lookups leads to:
- Unexplained gaps in metadata enrichment.
- Increased time and effort required to diagnose and resolve issues.
- False alarms and inconsistent correlation across observability signals.
Explicitly logging when a pod cannot be found would provide critical information for debugging and maintaining compliance with software taxonomy conventions.
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.