Closed seancribbs closed 6 years ago
Hi, this is exactly why default_metrics exist. Thank you for finishing it!
One thing though - I think declare_metrics and default_metrics can be created lazily in the respective if branches. For example
unquote_splicing(Enum.map(declarations, &emit_create_metric/1))
If this won't hurt readability of course. What you think?
I'll make that change, thanks!
Thanks for this PR, please do not hesitate to submit more :-)
Thank you for the prompt reply and merge! 😸
published 3.0.1
Fixes #16