This allows the mapping logic and configuration format to be re-used by the graphite exporter. Enables prometheus/graphite_exporter#37, cf. https://github.com/prometheus/graphite_exporter/pull/52#issuecomment-412324849 Signed-off-by: Matthias Rampke <mr@soundcloud.com>