Fix classify docs (#7290)

* fix(classify-metrics): remove problematic config

* add extra bit for catching config errors
This commit is contained in:
Douglas Reid 2020-05-13 13:09:55 -07:00 committed by GitHub
parent 109d7a565c
commit b2a72e0ae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ spec:
{
"name": "requests_total",
"dimensions": {
"response_code": "has(istio_responseClass)?istio_responseClass:response.code"
"response_code": "istio_responseClass"
}
}]
}
@ -327,7 +327,7 @@ If classification does not occur as expected, check the following potential caus
Review the Envoy proxy logs for the pod that has the service on which you applied the configuration change. Check that there are no errors reported by the service in the Envoy proxy logs on the pod, (`pod-name`), where you configured classification by using the following command:
{{< text bash >}}
$ kubectl log pod-name -c istio-proxy | grep "Config Error"
$ kubectl log pod-name -c istio-proxy | grep -e "Config Error" -e "envoy wasm"
{{< /text >}}
Additionally, ensure that there are no Envoy proxy crashes by looking for signs of restarts in the output of the following command: