Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support statsmatch from proxy metric #1826

Merged
merged 13 commits into from
Sep 13, 2023
Prev Previous commit
Next Next commit
fix code
Signed-off-by: zhaonan <zhaonan06@corp.netease.com>
zhaonan committed Sep 4, 2023
commit 545d686d8cc26d21c75ef5272fe1fde5b6bcafd4
12 changes: 6 additions & 6 deletions internal/xds/bootstrap/bootstrap.yaml.tpl
Original file line number Diff line number Diff line change
@@ -13,16 +13,16 @@ stats_config:
stats_matcher:
inclusion_list:
patterns:
{{- range $a, $s := .StatsMatcher.Prefixs }}
- prefix: {{$s}}
{{- range $_, $item := .StatsMatcher.Prefixs }}
- prefix: {{$item}}
{{- end}}
{{- range $a, $s := .StatsMatcher.Suffixs }}
- suffix: {{$s}}
{{- range $_, $item := .StatsMatcher.Suffixs }}
- suffix: {{$item}}
{{- end}}
{{- range $a, $s := .StatsMatcher.RegularExpressions }}
{{- range $_, $item := .StatsMatcher.RegularExpressions }}
- safe_regex:
google_re2: {}
regex: {{js $s}}
regex: {{js $item}}
{{- end}}
{{- end }}
dynamic_resources: