I'm using ingress-nginx as an Ingress controller for one of my services running over K8S (I'm using the nginx-0.20.0 release image with no specific metrics configurations in the K8S configmap the ingress-controller is using).
The nginx-ingress-controller pods are successfully scraped into my Prometheus server but all ingress metrics (e.g. nginx_ingress_controller_request_duration_seconds_bucket
) show up with path="/"
regardless of the real path of the handled request.
Worth noting that when I look at the ingress logs - the path is logged correctly.
How can I get the real path noted in the exported metrics?
Thanks!
enable-vts-status: "true"
?