graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03201
Re: [Question #209895]: Increment not incrementing by 1
Question #209895 on Graphite changed:
https://answers.launchpad.net/graphite/+question/209895
Status: Open => Answered
Daniel Schauenberg proposed the following answer:
Hi Joshua,
that sounds like you're not sending enough stats. StatsD averages the received
metrics over the flush interval (default 10 seconds) so when you're sending
less than 10 metrics during one flush period, you will end up with values below
1. For counters the absolut received value is also sent under the
`stats_counts.` namespace. Also note that `stats.` is added by StatsD itself,
so the example you posted would end up under
`stats.stats.business.users.sign_in`.
There's also a StatsD mailing list at statsd@xxxxxxxxxxxxx if you have more
questions about it. Or hop into #statsd on freenode.
Cheers,
Daniel
On Sat, Sep 29, 2012 at 04:25:59AM -0000, Joshua Cody wrote:
>New question #209895 on Graphite:
>https://answers.launchpad.net/graphite/+question/209895
>
>It's my first time trying to set up Graphite, and I seem to be having an issue. Most of my calls ATM are using the statsd-ruby gem (https://github.com/github/statsd-ruby) in my Rails app, via the .increment call. So .increment("stats.business.users.sign_in") is what I'm looking to do. In addition, I'm plotting deploys with a drawAsInfinite line. So my whole url looks like this:
>
>http://graphite.host/render?target=drawAsInfinite(color(stats.timers.stack.web.deploy_times.count,%20%22darkgray%22))&height=250&title=Sign+Ins&width=600&target=stats.business.users.sign_in
>
>And the graphs **look** all right so far as the actual shape of the line, but they're plotted from 0-1 on the y-axis. Here is an example: http://d.pr/i/bwph
>
>Even when I widen the graphs or remove the deploys, I get a ton of the same. And when looking at my formatted JSON data, this is what things look like: http://d.pr/i/IEB8
>
>I really have no idea why increments aren't storing as 1.0 intervals, but any help anyone could give would be great. Is it possible I have a borked config somewhere?
>
>Thanks again :)
>
>--
>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.