I am dealing with outlier detection configuration in istio 1.6. In envoy, there is an option to spilt external and local 5xx errors by setting “split_external_local_origin_errors=true”(https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/outlier#consecutive-5xx). I saw also the possibility to realize it in istio via EnvoyFilters (https://istio.io/latest/docs/reference/config/networking/envoy-filter/). But how to set the configurations are not clear to me.
For example, I am to configure customized outlier detection with istio 1.6 deployed. Here would be the configuration I would like to use for envoyfilter:
applyTo: ? (NETWORK_FILTER? HTTP_FILTER? Or?)
operation: ? (MERGE? ADD? Or?)
What I am sure is the “typed_config” I want. But other parameters like “applyTo” and “operation” are not clear to me (of course, the corresponding sub-configurations).
Can you please help to confirm which parameters I need to choose for these configurations if I want to enable the “split_external_local_origin_errors” ?
Thanks a lot!