criteo / graphite-remote-adapter

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

Add the possibility to use a custom graphite prefix #31

Closed CharlesJUDITH closed 6 years ago

CharlesJUDITH commented 6 years ago

The goal of this PR is to use as a custom prefix from the remote_write and remote_read URL.

Basically the graphite path will be set like that in the Prometheus configuration:

remote_write:

remote_read:

If this custom prefix is set, then the default prefix will not be used.

iksaif commented 6 years ago

two very small comments, the rest looks good :+1: