mirror of https://github.com/istio/istio.io.git
parent
e8b3c27101
commit
a204654559
|
@ -139,6 +139,16 @@ the example application throughout this task.
|
|||
sidecar.istio.io/extraStatTags: destination_port,request_host
|
||||
{{< /text >}}
|
||||
|
||||
To enable extra tags mesh wide, you can add `extraStatTags` to your mesh config:
|
||||
|
||||
{{< text yaml >}}
|
||||
meshConfig:
|
||||
defaultConfig:
|
||||
extraStatTags:
|
||||
- destination_port
|
||||
- request_host
|
||||
{{< /text >}}
|
||||
|
||||
## Verify the results
|
||||
|
||||
Send traffic to the mesh. For the Bookinfo sample, visit `http://$GATEWAY_URL/productpage` in your web
|
||||
|
|
|
@ -87,6 +87,14 @@ spec:
|
|||
sidecar.istio.io/extraStatTags: destination_port,request_host
|
||||
ENDSNIP
|
||||
|
||||
! read -r -d '' snip_enable_custom_metrics_4 <<\ENDSNIP
|
||||
meshConfig:
|
||||
defaultConfig:
|
||||
extraStatTags:
|
||||
- destination_port
|
||||
- request_host
|
||||
ENDSNIP
|
||||
|
||||
snip_verify_the_results_1() {
|
||||
curl "http://$GATEWAY_URL/productpage"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue