Debian Codegraph @

conf/relay-rules.conf.example

raw
1 # Relay destination rules for carbon-relay. Entries are scanned in order,
2 # and the first pattern a metric matches will cause processing to cease after sending
3 # unless `continue` is set to true
4 #
5 # [name]
6 # pattern = <regex>
7 # destinations = <list of destination addresses>
8 # continue = <boolean> # default: False
9 #
10 # name: Arbitrary unique name to identify the rule
11 # pattern: Regex pattern to match against the metric name
12 # destinations: Comma-separated list of destinations.
13 # ex: 127.0.0.1:2004:a, 10.1.2.4:2004, myserver.mydomain.com:2004
14 # continue: Continue processing rules if this rule matches (default: False)
15
16 # You must have exactly one section with 'default = true'
17 # Note that all destinations listed must also exist in carbon.conf
18 # in the DESTINATIONS setting in the [relay] section
19 [default]
20 default = true
21 destinations = 127.0.0.1:2004:a, 127.0.0.1:2104:b