cabot icon indicating copy to clipboard operation
cabot copied to clipboard

Specify "from" parameter in Graphite checks

Open kjoconnor opened this issue 10 years ago • 3 comments

We have "events" in Graphite that I'd like to sum up using hitcount, but this relies on a certain requested interval. I see Cabot uses 10 minutes as the default, but it would be great if we could specify our own "from" parameter so Graphite would return the correct event count for this period.

For instance, this is our graph with "from=-10min":

image

and this is it with "from=-4h":

image

The second image has the answer I'm looking for, which is 10 events in the last hour.

Thanks!

kjoconnor avatar Jul 18 '14 23:07 kjoconnor

You can now specify the parameter GRAPHITE_FROM in the conf/{{ env }}.conf file to define the from parameter.

ethervoid avatar Aug 08 '14 07:08 ethervoid

I'd love the ability to specify the "from" parameter for each check. I have some checks that require aggregation with 1 day buckets, and some with 3 days and 7 days, so just one single from value will not work.

myoffe avatar Dec 23 '15 11:12 myoffe

Is this issue resolved? I still have the same issue. I tried changing the graphite check to timeShift metric as well. It did not pull metrics for the configured timeShift.

newtechfellas avatar May 11 '18 18:05 newtechfellas