brutasse / graphite-api

Graphite-web, without the interface. Just the rendering HTTP API.
https://graphite-api.readthedocs.io
Apache License 2.0
492 stars 131 forks source link

(Question) Works with multiple go-carbon servers #207

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi

In our production we store metrics through several graphite-storages (actually they are go-caron). Now we decide switch from graphite-web to graphite-api, but we cannot setup graphite api for working with multiple go-carbon instances. We trying define multiple go-carbon instances like this:

carbon:
  hosts:
    - 127.0.0.1:17002
    - 127.0.0.1:27002

but its not works for us...

For now our setup looks like this:

              graphite-web
 (configure for working with several storages)
                    |
go-carbon-01  go-carbon-02 ... go-carbon-NN

Can graphite-api be configured for such scheme without writing custom finders? If can, may You provide configuration example?

Thanks in advance!