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

Reduce active series count for kubernetes installation #352

Closed

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Jan 24, 2021

PR Description

Adds more metric_relabel_rules, copied from the list used by kube-prometheus.

I tested this against a single-node cluster with no workloads other than the agent. Before the change, default/kubernetes scraped 13,118 metrics, and went down 11,561 with the change. I haven't done any testing to see if the change against larger clusters with more workloads will see a better improvement.

While related to #192, this doesn't fix the problem for Grafana Cloud. 11,561 is still too high for the free tier, and so a follow-up PR should make scraping default/kubernetes optional.

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG updated
  • Documentation added
  • Tests updated

@rfratto
Copy link
Member Author

rfratto commented Feb 4, 2021

Superseded by #384.

@rfratto rfratto closed this Feb 4, 2021
@rfratto rfratto deleted the reduce-kubernetes-series-count branch February 22, 2021 15:39
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Apr 17, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant