From 28879e48adcd243906447bbbf6231dcf7f87cc65 Mon Sep 17 00:00:00 2001 From: Mike Schore Date: Thu, 2 Jun 2022 03:02:57 +0800 Subject: [PATCH 1/2] stats: include new stats in config Signed-off-by: Mike Schore --- library/common/config/config.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/library/common/config/config.cc b/library/common/config/config.cc index 6ba541dc7b..71661926a3 100644 --- a/library/common/config/config.cc +++ b/library/common/config/config.cc @@ -445,6 +445,9 @@ stats_sinks: *stats_sinks - safe_regex: google_re2: {} regex: '^dns.apple.*' + - safe_regex: + google_re2: {} + regex: '^http.client.*' - safe_regex: google_re2: {} regex: '^http.dispatcher.*' @@ -454,6 +457,9 @@ stats_sinks: *stats_sinks - safe_regex: google_re2: {} regex: '^http.hcm.downstream_rq_[\w]+' + - safe_regex: + google_re2: {} + regex: '.*pbf_filter.*' - safe_regex: google_re2: {} regex: '^pulse.*' From c1af324129d0e67b468ee7b5c0219d942e48cf59 Mon Sep 17 00:00:00 2001 From: Mike Schore Date: Thu, 2 Jun 2022 04:31:30 +0800 Subject: [PATCH 2/2] refine regex Signed-off-by: Mike Schore --- library/common/config/config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/common/config/config.cc b/library/common/config/config.cc index 71661926a3..63f85cafde 100644 --- a/library/common/config/config.cc +++ b/library/common/config/config.cc @@ -459,7 +459,7 @@ stats_sinks: *stats_sinks regex: '^http.hcm.downstream_rq_[\w]+' - safe_regex: google_re2: {} - regex: '.*pbf_filter.*' + regex: '^pbf_filter.*' - safe_regex: google_re2: {} regex: '^pulse.*'