-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
prometheus: align relabelling convention with prometheus example #1520
prometheus: align relabelling convention with prometheus example #1520
Conversation
Signed-off-by: paulfantom <pawel@krupa.net.pl>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we create a major version update, i would like to see all docker images be up top date too.
Could you please update all used images?
Signed-off-by: paulfantom <pawel@krupa.net.pl>
dee5797
to
6701509
Compare
Sure, already done. I updated all tags in values.yaml and bumped kube-state-metrics chart to v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add some info whats changed to the upgrading section of the readme: https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus/README.md#upgrading-chart
Signed-off-by: André Bauer <andre.bauer@staffbase.com>
fe06e8a
to
3f968c4
Compare
Signed-off-by: André Bauer <andre.bauer@staffbase.com>
Signed-off-by: André Bauer <andre.bauer@staffbase.com>
@paulfantom I think it causes a regression bug #1548 |
…metheus-community#1520) * charts/prometheus: align relabelling convention with prometheus example Signed-off-by: paulfantom <pawel@krupa.net.pl> * charts/prometheus: update component versions to latest available Signed-off-by: paulfantom <pawel@krupa.net.pl> * added update info to readme Signed-off-by: André Bauer <andre.bauer@staffbase.com> * fix whitespace Signed-off-by: André Bauer <andre.bauer@staffbase.com> * fix cli command Signed-off-by: André Bauer <andre.bauer@staffbase.com> Co-authored-by: André Bauer <monotek@users.noreply.github.com> Co-authored-by: André Bauer <andre.bauer@staffbase.com> Signed-off-by: GitHub <noreply@github.com>
This PR aims to address both #1548 and #1613. Changes made in #1520, which ensure alignment with Prometheus labeling conventions, have caused issues in cases where a resource is publishing metrics about another resource. One example is kube-state-metrics, which publishes metrics about other kubernetes resources with labels respecting the convention, however prometheus overwrites these with labels that are true about kube-state-metrics. This PR fixes that. Signed-off-by: Endre Kadas <ekadas@gmail.com>
What this PR does / why we need it:
This PR aligns metric relabelings with the convention used in prometheus (prometheus/prometheus#9832), prometheus-operator, kube-state-metrics, kubernetes instrumentation, and monitoring mixins.
This is a breaking PR as following metric labels changed:
kubernetes_namespace
->namespace
kubernetes_name
->service
kubernetes_pod_name
->pod
kubernetes_node
->node
I bumped chart major version to note the breaking change.
Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer:
Checklist
[prometheus-couchdb-exporter]
)