mirror of https://github.com/istio/istio.io.git
zh-translation: faq/metrics-and-logs/controlling-what-the-sidecar-rep… (#6143)
* zh-translation: faq/metrics-and-logs/controlling-what-the-sidecar-reports.md * fix review issue on faq/metrics-and-logs/controlling-what-the-sidecar-reports.md
This commit is contained in:
parent
eb9b51ba9a
commit
d4cfc464da
|
@ -1,11 +1,9 @@
|
|||
---
|
||||
title: How can I control the data being reported by the sidecar?
|
||||
title: 如何控制 sidecar 上报数据?
|
||||
weight: 20
|
||||
---
|
||||
|
||||
It is sometimes useful to exclude access to specific URLs from being reported. For example, you might wish to exclude some health-checking
|
||||
URLs. You can skip telemetry reports specific to certain URLs by excluding them using a `match` clause of the telemetry configuration
|
||||
such as:
|
||||
有时会对访问的特定 URL 排除在上报之外,这样做是有用的。例如,你可能希望把健康检测的 URL 剔除。可以配置使用 `match` 语法来跳过匹配到的 URL 上报,比如:
|
||||
|
||||
{{< text yaml >}}
|
||||
match: source.name != "health"
|
||||
|
|
Loading…
Reference in New Issue