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

Added 'collector.disable-go-runtime-metrics' flag #587

Closed

Conversation

Amir-Hadadi
Copy link

@Amir-Hadadi Amir-Hadadi commented Oct 21, 2024

This flag controls go runtime metrics collection by the exporter.
The default scenario is collecting the go runtime metrics using the default go Prometheus client, using this flag means we want to disable collection. It defaults to false.
Discussion and more info is here.

@Amir-Hadadi Amir-Hadadi force-pushed the go-runtime-metrics-flag branch from 0d6c386 to 89c60f1 Compare October 21, 2024 10:29
@beorn7
Copy link
Member

beorn7 commented Oct 22, 2024

As discussed in the linked mail thread, I believe we should do this in a consistent way between exporters, ideally in https://github.com/prometheus/exporter-toolkit . (Note that this PR does something different to the existing flag in node_exporter, both in behavior and name of the flag.)

@beorn7
Copy link
Member

beorn7 commented Oct 24, 2024

See also prometheus/exporter-toolkit#119

@matthiasr
Copy link
Contributor

Thank you @beorn7 – I agree that this should be directly in exporter-toolkit, and consistent across exporters. I'll close this PR not as a "I don't want this" but as a "please do this in exporter-toolkit instead, and we can then pick it up here" 😄

@matthiasr matthiasr closed this Oct 25, 2024
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