Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Aug 11, 2022
1 parent 06006c3 commit c277824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p2p/host/resource-manager/obs/grafana-dashboards/README.md
Expand Up @@ -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()
Expand Down

0 comments on commit c277824

Please sign in to comment.