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

Default to noop metric provider #179

Merged
merged 1 commit into from
Jul 27, 2018

Conversation

cloudnautique
Copy link
Contributor

With the built in prom. metrics provider, the k8s machinery doesnt
deregister metrics when controllers are removed. So over time as
things like clusters are created or removed the metrics are not
cleaned up. The metrics types for the cache and queue are also
very large. They can take ~1GB of RAM in a 100 cluster setup.

Also, Rancher is not exposing these stats so they are unobservable.

With the built in prom. metrics provider, the k8s machinery doesnt
deregister metrics when controllers are removed. So over time as
things like clusters are created or removed the metrics are not
cleaned up. The metrics types for the cache and queue are also
very large. They can take ~1GB of RAM in a 100 cluster setup.

Also, Rancher is not exposing these stats so they are unobservable.
@cloudnautique cloudnautique force-pushed the noop_metrics_provider branch from 18a01da to 917f4c9 Compare July 27, 2018 19:40
@ibuildthecloud
Copy link
Contributor

LGTM

@deniseschannon deniseschannon merged commit de9510b into rancher:master Jul 27, 2018
jordanjean pushed a commit to jordanjean/norman that referenced this pull request Jan 7, 2020
Fix rancher2_app update issue on Rancher v2.3.2
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.

3 participants