← Back to team overview

graphite-dev team mailing list archive

Re: [Question #200027]: How to to do a fetch (like whisper.fetch) from carbon server itself ?

 

Question #200027 on Graphite changed:
https://answers.launchpad.net/graphite/+question/200027

    Status: Open => Answered

Michael Leinartas proposed the following answer:
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

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.