graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #02797
Re: [Question #200239]: Metrics not showing up in Graphite
Are the permissions right? Note the permissions on the carbon-cache daemon
and the owners of the $GRAPHITE/storage/ tree (not just the root folder).
I have found that carbon-cache, unless told otherwise, will run as your
apache user (apache on CentOS, www-data on ubuntu), and the directory tree
must be owned by that user for carbon-cache to be able to write out data.
Try also using the plaintext protocol manually following instructions here:
http://graphite.readthedocs.org/en/0.9.x/feeding-carbon.html
---
PORT=2003
SERVER=graphite.your.org
echo "local.random.diceroll 4 `date +%s`" | nc ${SERVER} ${PORT};
---
Good luck,
Brian
On Tue, Jun 12, 2012 at 4:05 PM, Restful Apis <
question200239@xxxxxxxxxxxxxxxxxxxxx> wrote:
> New question #200239 on Graphite:
> https://answers.launchpad.net/graphite/+question/200239
>
> I am using the Metrics library by CodaHale(http://metrics.codahale.com/)
> to send performance metrics over to the graphite server.
>
> I am sending the metrics over to port 2003.
>
> Within my graphite server, I changed the storage-schemas.conf as follows:
>
>
> [myapp]
> pattern = ^MyAppMetrics\.
> retentions = 60:90d
>
> [default_1min_for_1day]
> pattern = .*
> retentions = 60s:1d
>
> I restarted carbon-cache and the httpd service. When I log into the
> default page of graphite, I don't see the metrics my application is
> sending. Neither do I see any whisper files being generated in the whisper
> folder.
>
> Can somebody tell me what I might be doing wrong and what are some of the
> potential places where I should be looking into in order to solve this
> issue?
>
>
> --
> 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
>
Follow ups
References