feat: derive register logic on struct of metrics #140
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
One oftentimes has a
struct
of metrics like:Code to register the metrics in
Metrics
with aRegistry
could be generated via a derive macro onMetrics
.Where the
Register
trait is something along the lines of:The text was updated successfully, but these errors were encountered: