How to to do a fetch (like whisper.fetch) from carbon server itself ?

Asked by Muhamad

I am trying to do a remote fetch using carbon to avoid using direct whisper.fetch call on the whisper files themselves. Is this possible ? and if yes, how to do it ?


Question information

English Edit question
Graphite Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Leinartas (mleinartas) said :

No, carbon doesn't have any logic to handle reading the whisper files. Carbon does expose a very basic TCP interface (using Python pickled objects) that allows the retrieval of cached metrics that haven't yet been written to disk but that's only really useful when combined with the data read from the whisper files themselves.

If you need an API to access the data, generally you'll want to run a Graphite webapp on the same server that the metrics live on and query that using the render api:

Can you help with this problem?

Provide an answer of your own, or ask Muhamad for more information if necessary.

To post a message you must log in.