by default, graphite only stores the last value sent for any incoming metric in the minimum gradation (not the average value). if you need aggregates, a common solution is to use statsd .
however, you can also use a carbon aggregate. just make sure that you submit your metrics to the aggregator line port, and then update aggregation-rules.conf with this rule:
user_login (10) = sum user_login$
Note: it is assumed that your minimum storage period is 10 seconds (by default), you can confirm this by looking at the storage-schemas.conf file
for a more detailed explanation, see Why use statsd when a graphite carbon aggregate can do the same job?
james turner May 01 '15 at 1:50 pm 2015-05-01 13:50
source share