X-envoy-attempt-count Header

Envoy supports adding the x-envoy-attempt-count header to requests that have been retried , how can I enable this in Istio ?
In general how can get some visibility into retries happening, which metrics or logs should I look out for ?

Thank you

I was able to see x-envoy-attempt-count by enabling debug logging on the pod:
istioctl pc log httpbin-66cdbdb6c5-dqkqz --level debug

and then checking the logs of the pod

‘x-envoy-attempt-count’, ‘100’