Debian Codegraph @

conf/rewrite-rules.conf.example

raw
1 # This file defines regular expression patterns that can be used to
2 # rewrite metric names in a search & replace fashion. It consists of two
3 # sections, [pre] and [post]. The rules in the pre section are applied to
4 # metric names as soon as they are received. The post rules are applied
5 # after aggregation has taken place.
6 #
7 # The general form of each rule is as follows:
8 #
9 # regex-pattern = replacement-text
10 #
11 # For example:
12 #
13 # [post]
14 # _sum$ =
15 # _avg$ =
16 #
17 # These rules would strip off a suffix of _sum or _avg from any metric names
18 # after aggregation.