File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
p2p/host/resource-manager Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ limits := cfg.Build(scaledDefaultLimits)
4747// The resource manager expects a limiter, se we create one from our limits.
4848limiter := rcmgr.NewFixedLimiter (limits)
4949
50- // Metrics are enabled by default. If you want to disable metrics, use the
50+ // Metrics are enabled by default. If you want to disable metrics, use the
5151// WithMetricsDisabled option
5252// Initialize the resource manager
5353rm , err := rcmgr.NewResourceManager (limiter, rcmgr.WithMetricsDisabled ())
@@ -464,8 +464,6 @@ seen the `"resource limit exceeded"` error over time. You can also check the
464464` rcmgr_blocked_resources ` metric to see how many times the resource manager has
465465blocked a resource over time.
466466
467- ![ Example graph of blocked resources over time] ( https://bafkreibul6qipnax5s42abv3jc6bolhd7pju3zbl4rcvdaklmk52f6cznu.ipfs.io/ )
468-
469467If the resource is blocked by a protocol-level scope, take a look at the various
470468resource usages in the metrics. For example, if you run into a new stream being blocked,
471469you can check the
You can’t perform that action at this time.
0 commit comments