graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #00350
Re: [Question #106943]: Is there a way to query the list of metrics remotely, like via a web service call?
Question #106943 on Graphite changed:
https://answers.launchpad.net/graphite/+question/106943
Status: Open => Answered
Allan Bailey proposed the following answer:
http://graphite/metrics/find?query=*
that returns a json object. then you can walk down the tree from there. it
doesn't return the whole tree though.
-allan
On Fri, Apr 9, 2010 at 4:56 PM, dw-davef <
question106943@xxxxxxxxxxxxxxxxxxxxx> wrote:
> New question #106943 on Graphite:
> https://answers.launchpad.net/graphite/+question/106943
>
> I just want to enumerate which metrics are collected, not actually pull the
> data points down. A couple of versions ago I could run:
>
> curl -k "https://graphite/browser/tree/?path=dbhealth"
>
> And it would spit back some json which I could iterate through until I got
> the list of all metrics. This doesn't seem to work anymore. Is there a
> more proper way to enumerate the metrics that graphite knows about ( in json
> format if possible )?
>
> Thanks,
>
> --Dave
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.