Skip to content
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

Remove labelmap relabel_config for Kubernetes node_name #828

Merged
merged 1 commit into from
Sep 13, 2020

Conversation

dghubble
Copy link
Member

  • Originally, Kubelet and CAdvisor metrics used a labelmap relabel to add Kubernetes SD node labels onto timeseries
  • With Reduce apiserver metrics cardinality and extraneous labels #596 that relabel was dropped since node labels aren't usually that
    valuable. __meta_kubernetes_node_name was retained but the field name is empty
  • Favor just using Prometheus server-side instance in queries that require some node identifier for aggregation or debugging

Fix #823

* Originally, Kubelet and CAdvisor metrics used a labelmap
relabel to add Kubernetes SD node labels onto timeseries
* With #596 that
relabel was dropped since node labels aren't usually that
valuable. `__meta_kubernetes_node_name` was retained but
the field name is empty
* Favor just using Prometheus server-side `instance` in
queries that require some node identifier for aggregation
or debugging

Fix #823
@dghubble dghubble merged commit eb093af into master Sep 13, 2020
@dghubble dghubble deleted the remove-node-labelmap branch September 13, 2020 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with labelmaps in prometheus relabel config generating empty strings
1 participant