relay-rules.conf 893 B

123456789101112131415161718192021
  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, 10.1.2.3:2004, 10.1.2.4:2004:a, myserver.mydomain.com
  14. # continue: Continue processing rules if this rule matches (default: False)
  15. # You must have exactly one section with 'default = true'
  16. # Note that all destinations listed must also exist in carbon.conf
  17. # in the DESTINATIONS setting in the [relay] section
  18. [default]
  19. default = true
  20. destinations = 127.0.0.1:2004:a, 127.0.0.1:2104:b