#metrics #metric #prometheus #macro #catalogue

metrics-catalogue-macros

Macro core of the metrics-catalogue crate

6 releases (3 breaking)

0.4.1 Sep 2, 2021
0.4.0 Sep 2, 2021
0.3.0 Sep 2, 2021
0.2.1 Aug 26, 2021
0.1.0 Jul 14, 2021

#91 in Profiling


Used in metrics-catalogue

Apache-2.0

31KB
752 lines

Metrics Catalogue Macros

This library provides a set of declarative macros to automatically derive a catalogue of metrics from a struct definition. These macros make up the core of the metrics-catalogue crate.

[dependencies]
metrics-catalogue-macros = "0.1"

Dependencies

~0.5–0.9MB
~20K SLoC