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

Add command line flag to disable metrics about the exporter it-self #885

Merged

Conversation

equinox0815
Copy link
Contributor

@equinox0815 equinox0815 commented Aug 5, 2024

PR #356 introduced an API option to disable default exporter metrics (process_* and go_*). However there is no command line flag to actually set this option. This change adds the command line flag --no-collector.exporter-metrics to disable those metrics.

@equinox0815 equinox0815 requested a review from a team as a code owner August 5, 2024 18:17
@equinox0815 equinox0815 requested review from BupycHuk and JiriCtvrtka and removed request for a team August 5, 2024 18:17
main.go Outdated Show resolved Hide resolved
PR percona#356 introduced an API option to disable default exporter metrics (process_* and go_*).
However there is no command line flag to actually set this option. This change adds
the command line flag `--no-collector.exporter-metrics` to disable those metrics.

Signed-off-by: Christian Pointner <[email protected]>
@equinox0815 equinox0815 force-pushed the topic/cli-flag-disable-exporter-metrics branch from 4cebea1 to 0730649 Compare August 5, 2024 19:27
@BupycHuk BupycHuk merged commit e065c15 into percona:main Aug 16, 2024
6 checks passed
@equinox0815 equinox0815 deleted the topic/cli-flag-disable-exporter-metrics branch August 16, 2024 11:04
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.

4 participants