This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[Feature Request]: Use proxy/middleware pattern to enable/disable metrics for packages #1705
Labels
area:metrics
Related to measuring/collecting node metrics
enhancement
New feature or request
kind:discussion
Implementation ideas
Context
Following a conversation (#1638 (comment)) with @renaynay about the existing pattern (#1638 (comment)) used for metrics in DASer, we would like to implement the instrumentation middleware or proxy pattern to allow easier enabling and disabling of metrics, instead of having to check for nil references when metrics are disabled.
An example of this pattern is available in #1376
The text was updated successfully, but these errors were encountered: