clickhouse_exporter icon indicating copy to clipboard operation
clickhouse_exporter copied to clipboard

Allow disabling the built-in Go Metrics

Open dalegaard opened this issue 6 years ago • 2 comments

The golang Prometheus library exposes a bunch of Go-specific metrics in the default registry, but these don't really have anything to do with Clickhouse.

This commit adds an option to disable these default metrics, by way of creating a new registry instead.

To preserve backwards compatibility, the option is disabled by default and must be explicit toggled on using the -clickhouse_only flag.

dalegaard avatar Mar 15 '19 14:03 dalegaard

Merged in master, thank for your contribution.

f1yegor avatar Jun 17 '21 09:06 f1yegor

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Sep 28 '21 08:09 CLAassistant