Hey all. Im following these steps to see if I can add extra dimensions to my prometheus metrics.
I added this snippet to the envoy filter.
{
“debug”: “false”,
“stat_prefix”: “istio”,
“metrics”: [
{
“name”: “requests_total”,
“dimensions”: {
“destination_port”: “destination.port”,
“request_host”: “request.host”
}
}
]
}
But I still don’t see any additional labels on the metrics I’m pulling from the istio-proxy container.
Do I need to inject this annotation to ALL injected pods for this to work or just the ones Im trying to get it from.
And when I go one step further and add it on outbound, inbound, and gateway config, I get this happening to my metrics.