Nitpicking a doc comment
Signed-off-by: beorn7 <beorn@soundcloud.com>
This commit is contained in:
parent
f6443e74d4
commit
8d9c21f0cf
|
@ -131,7 +131,7 @@ func ExampleCollector() {
|
||||||
NewClusterManager("db", reg)
|
NewClusterManager("db", reg)
|
||||||
NewClusterManager("ca", reg)
|
NewClusterManager("ca", reg)
|
||||||
|
|
||||||
// Add the built in process and golang metrics to this registry
|
// Add the standard process and Go metrics to the custom registry.
|
||||||
reg.MustRegister(
|
reg.MustRegister(
|
||||||
prometheus.NewProcessCollector(prometheus.ProcessCollectorOpts{}),
|
prometheus.NewProcessCollector(prometheus.ProcessCollectorOpts{}),
|
||||||
prometheus.NewGoCollector(),
|
prometheus.NewGoCollector(),
|
||||||
|
|
Loading…
Reference in New Issue