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 --web.disable-exporter-metrics #40

Open
candlerb opened this issue Dec 6, 2019 · 1 comment
Open

Add --web.disable-exporter-metrics #40

candlerb opened this issue Dec 6, 2019 · 1 comment

Comments

@candlerb
Copy link

candlerb commented Dec 6, 2019

ipmi_exporter returns a bunch of go internal metrics:

curl localhost:9290/metrics
# HELP go_gc_duration_seconds A summary of the GC invocation durations.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 0
go_gc_duration_seconds{quantile="0.25"} 0
go_gc_duration_seconds{quantile="0.5"} 0
go_gc_duration_seconds{quantile="0.75"} 0
go_gc_duration_seconds{quantile="1"} 0
go_gc_duration_seconds_sum 0
go_gc_duration_seconds_count 0
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 9
... etc

It would be nice to have a flag to disable these, as node_exporter has:

                disableExporterMetrics = kingpin.Flag(
                        "web.disable-exporter-metrics",
                        "Exclude metrics about the exporter itself (promhttp_*, process_*, go_*).",
                ).Bool()
...

Otherwise these metrics need to be filtered out by metric relabelling.

@bitfehler
Copy link
Contributor

Hi! The linked node exporter PR doesn't look trivial at first glance, I will need some time to look at this. Since the metrics can be filtered out by relabeling I wouldn't consider this a pressing issue. Valid nonetheless, thanks for reporting.

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

No branches or pull requests

2 participants