# The form of each line in this file should be as follows: # # output_template (frequency) = method input_pattern # # This will capture any received metrics that match 'input_pattern' # for calculating an aggregate metric. The calculation will occur # every 'frequency' seconds and the 'method' can specify 'sum' or # 'avg'. The name of the aggregate metric will be derived from # 'output_template' filling in any captured fields from 'input_pattern'. # # For example, if you're metric naming scheme is: # # .applications... # # You could configure some aggregations like so: # # .applications..all.requests (60) = sum .applications..*.requests # .applications..all.latency (60) = avg .applications..*.latency # # As an example, if the following metrics are received: # # prod.applications.apache.www01.requests # prod.applications.apache.www01.requests # # They would all go into the same aggregation buffer and after 60 seconds the # aggregate metric 'prod.applications.apache.all.requests' would be calculated # by summing their values. # # Note that any time this file is modified, it will be re-read automatically. # NOTE: If you use the `sum` aggregation method, make sure the aggregation period is # 5 seconds unless you know what you are doing. statsd pushes to carbon # every 5 seconds (see local.js), so aggregating over a longer period of time # will inflate the output value # Aggregate all per-bucket memcached stats into a generic hit/miss stat stats..cache.all.hit (5) = sum stats..cache.*.hit stats..cache.all.miss (5) = sum stats..cache.*.miss # Aggregate all per-bucket memcached stats counts into a generic hit/miss stat stats_counts..cache.all.hit (5) = sum stats_counts..cache.*.hit stats_counts..cache.all.miss (5) = sum stats_counts..cache.*.miss # Aggregate all per-domain active stats to overall active stats stats.gauges..users.active.all. (5) = sum stats.gauges..users.active.*. stats.gauges..users.reading.all. (5) = sum stats.gauges..users.reading.*. # Aggregate all per-realm end-to-end send stats to overall stats.timers..endtoend.send_time.all. (5) = sum stats.timers..endtoend.send_time.*. stats.timers..endtoend.receive_time.all. (5) = sum stats.timers..endtoend.receive_time.*. stats.timers..endtoend.displayed_time.all. (5) = sum stats.timers..endtoend.displayed_time.*. # Aggregate all per-realm narrow timing stats stats.timers..narrow.initial_core.all. (5) = sum stats.timers..narrow.initial_core.*. stats.timers..narrow.initial_free.all. (5) = sum stats.timers..narrow.initial_free.*. stats.timers..narrow.network.all. (5) = sum stats.timers..narrow.network.*.