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

Asked by Muhamad on 2012-06-10

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 ?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
2012-06-10
Last reply:
2012-06-11
Michael Leinartas (mleinartas) said : #1

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: http://readthedocs.org/docs/graphite/en/0.9.x/render_api.html

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.