#metrics #prometheus #macro #catalogue

macro 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

#130 in #prometheus


Used in metrics-catalogue

Apache-2.0

32KB
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

~1.5MB
~37K SLoC