mirror of https://github.com/zulip/zulip.git
Fix aggregation rules to sum at correct frequency
(imported from commit a8a27c417ae6e9cc8a6c383313da27ff6d2e875f)
This commit is contained in:
parent
9d8f847fed
commit
2fcc7c0c5c
|
@ -28,9 +28,14 @@
|
|||
#
|
||||
# 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 generit hit/miss stat
|
||||
stats.<app>.cache.all.hit (10) = sum stats.<app>.cache.*.hit
|
||||
stats.<app>.cache.all.miss (10) = sum stats.<app>.cache.*.miss
|
||||
stats.<app>.cache.all.hit (5) = sum stats.<app>.cache.*.hit
|
||||
stats.<app>.cache.all.miss (5) = sum stats.<app>.cache.*.miss
|
||||
|
||||
# Aggregate all per-domain active stats to overall active stats
|
||||
stats.gauges.<app>.users.active.all.<bucket> (10) = sum stats.gauges.<app>.users.active.*.<bucket>
|
||||
stats.gauges.<app>.users.active.all.<bucket> (5) = sum stats.gauges.<app>.users.active.*.<bucket>
|
||||
|
|
Loading…
Reference in New Issue