graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03601
Re: [Question #217371]: Multiple servers = multiple storage schemas ?
Question #217371 on Graphite changed:
https://answers.launchpad.net/graphite/+question/217371
Nicholas Leskiw proposed the following answer:
It's all regular expressions, and the first one that matches is used. So
if you had loadAvg somewhere in all the load average metrics, a valid
patter would be 'loadAvg' with nothing else.
-Nick
On Dec 21, 2012, at 12:11 PM, gyre007
<question217371@xxxxxxxxxxxxxxxxxxxxx> wrote:
> New question #217371 on Graphite:
> https://answers.launchpad.net/graphite/+question/217371
>
> Hi there,
> I'm a total Graphite rookie.
> I have a question. If I want to gather let's say load avg from let's sat 10 servers. Do I need to define separate schema for each of them in storage-schemas.conf or will Graphite store these separately automatically so that I can graph them separately ?
> I mean will this be enough to gather data for all servers sending this stat:
>
> [garbage_collection]
> pattern = garbageCollections$
> retentions = 10s:14d
>
> Or do I have to have a regexp and separate schema for each of the servers ie:
>
> [garbage_collection_w1]
> pattern = w1.garbageCollections$
> retentions = 10s:14d
>
> [garbage_collection_w2]
> pattern = w2.garbageCollections$
> retentions = 10s:14d
> ....
>
> Thanks!
>
> --
> 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.