Commit Graph

6 Commits

Author SHA1 Message Date
JmPotato 1e7736f8bc
Clean up the use of macro_use and extern crate (#398)
* Clean up the use of macro_use and extern crate

Signed-off-by: JmPotato <ghzpotato@gmail.com>

* Fix the build

Signed-off-by: JmPotato <ghzpotato@gmail.com>
2021-03-23 10:53:57 +00:00
Max Inden d2a4bd735c
*: Follow metric naming convention for unit-less count (#360)
By convention unit-less Prometheus counters are postfixed with `_total`.
See https://prometheus.io/docs/practices/naming/ for details.

Signed-off-by: Max Inden <mail@max-inden.de>
2020-11-02 09:41:10 +01:00
Ana Hobden 6949f4d7cd Update copyright header (#295)
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2019-11-27 20:39:57 +08:00
Wenxuan Shi 9c3d03c2ba
Support local metric in static metric macro (#245)
Signed-off-by: Breezewish <me@breeswish.org>
2019-06-19 20:33:17 +08:00
Jonas Schievink 65a4f7d153 Update reqwest to 0.9.5 (#215) 2018-12-24 11:52:27 +08:00
Wenxuan Shi 2583e4b8b5
Provide Static Metric Macros (#166) 2018-05-12 16:57:05 +08:00