29 ms·
You can disable the default metrics by using the uninstrumented handler https://godoc.org/github.com/prometheus/client_golang/prometheus#UninstrumentedHandler h
by grobie 10y ago
You can disable the default metrics by using the uninstrumented handler https://godoc.org/github.com/prometheus/client_golang/prometheus#UninstrumentedHandler https://godoc.org/github.com/prometheus/client_golang/promet...
It's a best practice to export all available metrics though, you'll likely run into situations where you'll need them. It's not that many time series exported by default which shouldn't cause any problems.