mirror of https://github.com/istio/istio.io.git
parent
4136552bf6
commit
06913341a3
|
@ -35,7 +35,7 @@ For more information, see the
|
|||
|
||||
Istio uses the Envoy proxy to generate metrics and provides its configuration in
|
||||
the `EnvoyFilter` at
|
||||
[`manifests/charts/istio-control/istio-discovery/templates/telemetryv2_1.6.yaml`]({{<github_blob>}}/manifests/charts/istio-control/istio-discovery/templates/telemetryv2_1.6.yaml).
|
||||
[`manifests/charts/istio-control/istio-discovery/templates/telemetryv2_1.8.yaml`]({{<github_blob>}}/manifests/charts/istio-control/istio-discovery/templates/telemetryv2_1.8.yaml).
|
||||
As a result, writing classification rules involves adding attributes to the
|
||||
`EnvoyFilter`.
|
||||
|
||||
|
|
|
@ -231,7 +231,7 @@ log entries for `v1` and none for `v2`:
|
|||
mirror:
|
||||
host: httpbin
|
||||
subset: v2
|
||||
mirror_percent: 100
|
||||
mirrorPercent: 100
|
||||
EOF
|
||||
{{< /text >}}
|
||||
|
||||
|
@ -244,7 +244,7 @@ log entries for `v1` and none for `v2`:
|
|||
Also, it is important to note that these requests are mirrored as "fire and
|
||||
forget", which means that the responses are discarded.
|
||||
|
||||
You can use the `mirror_percent` field to mirror a fraction of the traffic,
|
||||
You can use the `mirrorPercent` field to mirror a fraction of the traffic,
|
||||
instead of mirroring all requests. If this field is absent, for compatibility with
|
||||
older versions, all traffic will be mirrored.
|
||||
1. Send in traffic:
|
||||
|
|
|
@ -208,7 +208,7 @@ spec:
|
|||
mirror:
|
||||
host: httpbin
|
||||
subset: v2
|
||||
mirror_percent: 100
|
||||
mirrorPercent: 100
|
||||
EOF
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue