fix telemetry test (#15958)

This commit is contained in:
zirain 2024-11-19 19:09:57 +08:00 committed by GitHub
parent eda9f45c32
commit e26275f03a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -79,13 +79,13 @@ You can modify the standard metric definitions using `tags_to_remove` or by re-d
mode: CLIENT
tagOverrides:
destination_x:
value: upstream_peer.labels['app'].value
value: filter_state.upstream_peer.app
- match:
metric: REQUEST_COUNT
mode: SERVER
tagOverrides:
source_x:
value: downstream_peer.labels['app'].value
value: filter_state.downstream_peer.app
providers:
- name: prometheus
{{< /text >}}

View File

@ -64,13 +64,13 @@ spec:
mode: CLIENT
tagOverrides:
destination_x:
value: upstream_peer.labels['app'].value
value: filter_state.upstream_peer.app
- match:
metric: REQUEST_COUNT
mode: SERVER
tagOverrides:
source_x:
value: downstream_peer.labels['app'].value
value: filter_state.downstream_peer.app
providers:
- name: prometheus
ENDSNIP