Skip to content

Commit

Permalink
don't drop non-specified metrics in docker example
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Sawa <[email protected]>
  • Loading branch information
ysawa0 committed Aug 11, 2021
1 parent d331181 commit 4d84a22
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions examples/prom-statsd-exporter/conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,9 @@ mappings: # Requires statsd exporter >= v0.6.0 since it uses the "drop" action.
- match: "ratelimit.service.config_load_error"
name: "ratelimit_service_config_load_error"
match_metric_type: counter
- match: "ratelimit.service.config_load_error"
name: "ratelimit_service_config_load_error"
match_metric_type: counter
- match: "."
match_type: "regex"
action: "drop"
name: "dropped"

# Enable below in production once you have the metrics you need
# - match: "."
# match_type: "regex"
# action: "drop"
# name: "dropped"

0 comments on commit 4d84a22

Please sign in to comment.