cabot
cabot copied to clipboard
Specify "from" parameter in Graphite checks
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":
and this is it with "from=-4h":
The second image has the answer I'm looking for, which is 10 events in the last hour.
Thanks!
You can now specify the parameter GRAPHITE_FROM in the conf/{{ env }}.conf file to define the from parameter.
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.
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.