I’m trying to add dimensions to existing metrics using Istio 1.8.1
I followed the steps in Istio / Customizing Istio Metrics to add destination_port and request_host to the requests_total metric (exactly the scenario in the documentation), but I’m not seeing the new dimensions in prometheus.
I see the IstioOperator has been updated correctly. I’ve redeployed pods within my mesh. Still nothing.
telemetry:
v2:
prometheus:
configOverride:
inboundSidecar:
metrics:
- name: requests_total
dimensions:
destination_port: string(destination.port)
request_host: request.host
- name: istio_tcp_connections_closed_total
dimensions:
destination_ip: string(destination.ip)
outboundSidecar:
metrics:
- name: requests_total
dimensions:
destination_port: string(destination.port)
request_host: request.host
- name: istio_tcp_connections_closed_total
dimensions:
destination_ip: string(destination.ip)
gateway:
metrics:
- name: requests_total
dimensions:
destination_port: string(destination.port)
request_host: request.host
- name: istio_tcp_connections_closed_total
dimensions:
destination_ip: string(destination.ip)