Enhancing k8sattributesprocessor for Multi-Dimensional Metrics Collection #36437
Labels
enhancement
New feature or request
needs triage
New item requiring triage
processor/k8sattributes
k8s Attributes processor
Component(s)
processor/k8sattributes
Is your feature request related to a problem? Please describe.
Currently, the k8sattributesprocessor retrieves the pod identifier value from a single resource attribute. However, in many scenarios, this is not sufficient.
For example, while the collection target might be a node or machine, the metrics collected could be at the container level or related to specific Kubernetes resources, such as pods, containers, or even PVs and PVCs, as seen with tools like google/cAdvisor and kubelet.
Describe the solution you'd like
We need to add an attribute scope before inserting metadata, such as labels or container IDs.
By introducing this attribute scope, we can prioritize resource attribute scopes effectively.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: