@cryptotaxi247 / kubo / commits / 48f25d9ed

pass opts.Namespace along like before

Adrian Lanzafame committed Oct 23, 2019 at 10:46 UTC 48f25d9ed7ac149a67b23c179f7c60f12484de68
1 file changed +1
core/corehttp/metrics.go
+1
@@ -32,6 +32,7 @@ func MetricsCollectionOption(handlerName string) ServeOption {
32
33 reqCnt := prometheus.NewCounterVec(
34 prometheus.CounterOpts{
35 + Namespace: opts.Namespace,
36 Subsystem: opts.Subsystem,
37 Name: "requests_total",
38 Help: "Total number of HTTP requests made.",