Skip to content

Commit

Permalink
added rewrite-rules.conf.example
Browse files Browse the repository at this point in the history
  • Loading branch information
cdavis committed Mar 11, 2011
1 parent 9b76bfe commit e39bc43
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions conf/rewrite-rules.conf.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This file defines regular expression patterns that can be used to
# rewrite metric names in a search & replace fashion. It consists of two
# sections, [pre] and [post]. The rules in the pre section are applied to
# metric names as soon as they are received. The post rules are applied
# after aggregation has taken place.
#
# The general form of each rule is as follows:
#
# regex-pattern = replacement-text
#
# For example:
#
# [post]
# _sum$ =
# _avg$ =
#
# These rules would strip off a suffix of _sum or _avg from any metric names
# after aggregation.

0 comments on commit e39bc43

Please sign in to comment.