7 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
3efb6e6b35
Update default_label_strategy.go 2018-03-31 13:03:31 +02:00
Daniel Czerwonk
d909f5fdb8
lint 2018-01-02 17:18:34 +01:00
Daniel Czerwonk
d46dc7e1ce removed device protocol since it does not generate routes 2017-12-12 16:00:28 +01:00
Daniel Czerwonk
5aa2e04ce7 parsing for channels 2017-12-12 13:38:05 +01:00
Daniel Czerwonk
5c10493514 generic protocol export (new format) 2017-12-01 00:37:12 +01:00
Daniel Czerwonk
c8354f281e new encapsulation with label strategies 2017-11-30 23:35:31 +01:00