Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion library/common/config/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,12 @@ stats_sinks: *stats_sinks
- safe_regex:
google_re2: {}
regex: '^cluster\.[\w]+?\.upstream_rq_[\w]+'
- safe_regex:
google_re2: {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there ever a situation we'd want to use re2?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Frankly speaking - I do not know. I was an ignorant and followed the established pattern + I'm just more familiar with standard regexes so felt more comfortable doing that.

regex: '^cluster\.[\w]+?\.update_(attempt|success|failure)'
- safe_regex:
google_re2: {}
regex: '^cluster\.[\w]+?\.http2.keepalive_timeout'
- safe_regex:
google_re2: {}
regex: '^dns.apple.*'
Expand All @@ -398,7 +404,7 @@ stats_sinks: *stats_sinks
regex: '^http.hcm.decompressor.*'
- safe_regex:
google_re2: {}
regex: '^http.hcm.downstream_rq_(?:[12345]xx|total|completed)'
regex: '^http.hcm.downstream_rq_[\w]+'
- safe_regex:
google_re2: {}
regex: '^pulse.*'
Expand Down