Skip to content

Commit

Permalink
update regex in readme with more optimal matching
Browse files Browse the repository at this point in the history
  • Loading branch information
JDeuce committed Jun 19, 2024
1 parent 303fb66 commit 3c57086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ First, enable an extra mogrifier:
Then, declare additional rules for the `DESCRIPTOR` mogrifier
1. `DOG_STATSD_MOGRIFIER_HITS_PATTERN`: `^ratelimit\.service\.rate_limit\.(.*)\.(.*)\.(.*)$`
1. `DOG_STATSD_MOGRIFIER_HITS_PATTERN`: `^ratelimit\.service\.rate_limit\.([^.]+)\.(.*)\.([^.]+)$`
2. `DOG_STATSD_MOGRIFIER_HITS_NAME`: `ratelimit.service.rate_limit.$3`
3. `DOG_STATSD_MOGRIFIER_HITS_TAGS`: `domain:$1,descriptor:$2`
Expand Down

0 comments on commit 3c57086

Please sign in to comment.