-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't see label filters on k8s.node.cpu.usage metrics when using kubeletstats receiver #33791
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
At the moment, the receiver does not add Node's labels and annotations at first place: #27909 Did you try to add the k8sattributesprocessor in your pipeline? That should be enough to add labels/annotations in Pod's metrics (not sure if covers the Node's metrics though 🤔 ). |
@ChrsMark Thanks for you reply. So atleast node metrics are of limited use. Off topic, is there any receivers in collector which does that? |
I haven't tried that but maybe enabling the |
Both of the suggetion didn't work. anyways they are in beta stability, so can't complain. Thanks. |
Component(s)
receiver/kubeletstats
Describe the issue you're reporting
I am using opentelemetry collector which is running as deamonset on eks cluster. I am using
kubeletstats
receiver to sendnode
andpod
'scpu
stats to vendor backend. The data is availble on the grafana. But I am facing this issue that when i am trying to use -k8s_node_cpu_usage
metrics, i can't filter it based on a label(which should be node id), in order to visualise each node cpu usages. Further, All the stats i receive for pods doesn't have any label associated with it, how will we know what node or what pod this metrics is? its super confusing.here is my collector configuration -
thanks
The text was updated successfully, but these errors were encountered: