-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[kube-prometheus-stack] add attach_metadata to kubelet related scrape targets #3227
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
I'd still like to see this resolved. |
Prometheus currently does not support attaching metadata to target endpoints that do not set |
This has been released in prometheus 2.44 which is now in the latest chart version. @jcpunk can you check? |
Thank you all. At least what I have proposed is not yet visible in latest kube-prometheus-stack Helm values.yaml |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
Hi, For us it looks like a bug and not an enhancement. We are trying to migrate to Prometheus operator from the regular Prometheus helm chart because of missing backward compatibility. Without this parameter, we can't return back all required node labels which are used in many places in our environment (alerting rules, Grafana dashboards, etc). |
Is your feature request related to a problem ?
Prometheus configuration kubernetes_sd_config allows attaching optional metadata to discovered targets , see here
I 'd like to use this for kubelet related scrape targets as well.
Describe the solution you'd like.
In Helm values.yaml like:
Describe alternatives you've considered.
I disabled kubelet and created separate "additionalScrapeConfigs" like:
Additional context.
I want to filter kubelet and cAdvisor metrics based on additional labels like node group name etc.
The text was updated successfully, but these errors were encountered: