Expand description
This crate contains the attribute macro for generating Prometheus metrics. Refer to the metrics attribute documentation for more information.
Attribute Macrosยง
- metrics
- This attribute macro instruments all of the struct fields with Prometheus metrics according to the attributes on the fields. It also generates an ergonomic accessor API for each of the defined metrics.