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)
47
47
// The resource manager expects a limiter, se we create one from our limits.
48
48
limiter := rcmgr.NewFixedLimiter (limits)
49
49
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
51
51
// WithMetricsDisabled option
52
52
// Initialize the resource manager
53
53
rm , err := rcmgr.NewResourceManager (limiter, rcmgr.WithMetricsDisabled ())
@@ -464,8 +464,6 @@ seen the `"resource limit exceeded"` error over time. You can also check the
464
464
` rcmgr_blocked_resources ` metric to see how many times the resource manager has
465
465
blocked a resource over time.
466
466
467
- ![ Example graph of blocked resources over time] ( https://bafkreibul6qipnax5s42abv3jc6bolhd7pju3zbl4rcvdaklmk52f6cznu.ipfs.io/ )
468
-
469
467
If the resource is blocked by a protocol-level scope, take a look at the various
470
468
resource usages in the metrics. For example, if you run into a new stream being blocked,
471
469
you can check the
You can’t perform that action at this time.
0 commit comments