Debian Codegraph @

conf/storage-aggregation.conf.example

raw
1 # Aggregation methods for whisper files. Entries are scanned in order,
2 # and first match wins. This file is scanned for changes every 60 seconds
3 #
4 # [name]
5 # pattern = <regex>
6 # xFilesFactor = <float between 0 and 1>
7 # aggregationMethod = <average|sum|last|max|min>
8 #
9 # name: Arbitrary unique name for the rule
10 # pattern: Regex pattern to match against the metric name
11 # xFilesFactor: Ratio of valid data points required for aggregation to the next retention to occur
12 # aggregationMethod: function to apply to data points for aggregation
13 #
14 [min]
15 pattern = \.min$
16 xFilesFactor = 0.1
17 aggregationMethod = min
18
19 [max]
20 pattern = \.max$
21 xFilesFactor = 0.1
22 aggregationMethod = max
23
24 [sum]
25 pattern = \.count$
26 xFilesFactor = 0
27 # for monotonically increasing counters
28 aggregationMethod = max
29 # for counters that reset every interval (statsd-style)
30 #aggregationMethod = sum
31
32 [default_average]
33 pattern = .*
34 xFilesFactor = 0.5
35 aggregationMethod = average