criteo / graphite-remote-adapter

Fully featured graphite remote adapter for Prometheus
Apache License 2.0
38 stars 25 forks source link

Allow to export a configurable set of labels/values as Graphite tags #73

Closed mycroft closed 4 years ago

mycroft commented 4 years ago

Add --graphite.filtered-tags to only convert to tags some labels

The Format structure was refactored to allow filtering a fixed list of labels that will be exported as tags when writing metrics. Remaining other label/values will still used to build the metric name. This feature is only supported for Graphite Tags. Added unit tests as well.

While I was at it, updating go modules & some misc. doc changes.

This is part of OBS-56844.