From c277824bef1d7c4e7d0535f58aa8740bd076d1b1 Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Thu, 11 Aug 2022 16:56:26 -0700 Subject: [PATCH] Update readme --- p2p/host/resource-manager/obs/grafana-dashboards/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p2p/host/resource-manager/obs/grafana-dashboards/README.md b/p2p/host/resource-manager/obs/grafana-dashboards/README.md index 132ac2f0cb..dfa7265044 100644 --- a/p2p/host/resource-manager/obs/grafana-dashboards/README.md +++ b/p2p/host/resource-manager/obs/grafana-dashboards/README.md @@ -21,11 +21,11 @@ import ( ) func SetupResourceManager() (network.ResourceManager, error) { - // Hook up the trace reporter metrics + // Hook up the trace reporter metrics. This will expose all opencensus + // stats via the default prometheus registry. See https://opencensus.io/exporters/supported-exporters/go/prometheus/ for other options. view.Register(rcmgrObs.DefaultViews...) ocprom.NewExporter(ocprom.Options{ Registry: prometheus.DefaultRegisterer.(*prometheus.Registry), - Namespace: "rcmgr_trace_metrics", }) str, err := rcmgrObs.NewStatsTraceReporter()