Configuring Graphite Charts

Generally good info

How to configure statsd and Graphite

Bar Charts of Counts

To aggregate events over time in Graphite you can combine the usage of group(), sumSeries(), and summarize(). The group function pulls metrics into a single series, then sumSeries adds them up, then summarize aggregates them for an interval.

For example:

1 hour sums:

summarize(sumSeries(group(*.in.count)),"1h") or

1 day sums

summarize(sumSeries(group(*.in.count)),"1d") Then, to get the graph to look like you want (i.e. like a bar chart), you should set the "Line Mode" to Staircase Line and "Area Mode" to Stacked or All.

Last updated