metrique-v0.1.1
·
150 commits
to main
since this release
Added
- allow
WithDimensionsandForceFlagsupport for entries - breaking change: clean up
CloseValue/CloseValueRef. If you previously implementedCloseValueRef, you should now implementCloseValue for &'_ T - separate
#[metrics(no_close)]from#[metrics(flatten_entry)].
The old#[metrics(flatten_entry)]is now#[metrics(flatten_entry, no_close)]. - allow using
ForceFlagforCloseValue. This allows setting things likeemf::HighResolution<Value> - support
#[metrics(value)]and#[metrics(value(string))]. These reduce one of the main reasons to implementCloseValuedirectly: using a enum as a string value in your metric:#[metric(value(string))] enum ActionType { Create, Update, Delete }