4 Commits

Author SHA1 Message Date
Arthur Gautier
e570048463 metrics: allow label_strategy to be implemented as api
I use this exporter as an api, and I need to implement another
custom label strategy. Purpose being to habe business logic in
those labels (datacenter, ...).

Because the interface is private, this can not be implemented
elsewhere. This commit makes it public.

Signed-off-by: Arthur Gautier <baloo@gandi.net>
2018-08-09 06:43:29 +00:00
Daniel Czerwonk
de14689c40
Fixed typo 2018-01-02 17:17:00 +01:00
Daniel Czerwonk
b9e7bbd5fe fixed naming inconsistency 2017-12-01 08:34:57 +01:00
Daniel Czerwonk
c8354f281e new encapsulation with label strategies 2017-11-30 23:35:31 +01:00