-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(metrics): derive with dynamic scope #785
Conversation
Ok, this is making sense to me at a high level, and LGTM as it's passing tests! A couple non-blocking questions from a Rust newbie:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akirillo expressed interest in taking it over as well |
we simply need to fix some docs & comments here, that's it |
yup, will take over on this |
Ah ACK! |
@rkrasiuk added a quick usage example to |
Codecov Report
@@ Coverage Diff @@
## main #785 +/- ##
==========================================
- Coverage 73.45% 73.44% -0.01%
==========================================
Files 280 280
Lines 29697 29856 +159
==========================================
+ Hits 21813 21928 +115
- Misses 7884 7928 +44
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
closes #782
Provide additional
dynamic
kv entry forMetrics
derive macro. Ifdynamic = true
, the macro will generate fns for dynamic scope instead of operating on a preset one.Examples
NOTE: still need to update the docs.