Skip to content

Commit

Permalink
don't drop non-specified metrics in docker example (envoyproxy#283)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Sawa <[email protected]>
Signed-off-by: Jesper Söderlund <[email protected]>
  • Loading branch information
ysawa0 authored and Jesper Söderlund committed Sep 19, 2021
1 parent d331181 commit 93eda66
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 93eda66

Please sign in to comment.