-
Notifications
You must be signed in to change notification settings - Fork 78
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
Is there a way not to expose process_* metrics? #56
Comments
If its been enabled by default for some time, it seems best to add a new cli option to turn them off via that @nicolacdnll are you going to put a PR for this? |
I might, but definitely not in the upcoming 2-3 weeks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As the title says, is there a way not to expose process_* metrics?
I've given a quick look at the code and
prom_collector_registry_t->disable_process_metrics
seems the knob I'm looking for, but it seems it's never used. Besides, it seems that collecting and exposing process metrics is enabled by default:prometheus-client-c/prom/src/prom_collector_registry.c
Lines 91 to 99 in c57034d
I guess that one could always edit and recompile the library but I was looking for something out of the box.
The text was updated successfully, but these errors were encountered: