nginx_ingress_controller_requests are having host data as "_" #12316
Labels
needs-kind
Indicates a PR lacks a `kind/foo` label and requires one.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened:
We are using customized ingress-nginx v1.10.1. We observed that for few of **nginx_ingress_controller_requests metrics when parsed are having host= __ What could be the possibility/scenario for ingress-nginx to get the host data as "" instead of actual host details.
What you expected to happen:
nginx_ingress_controller_requests{canary="",controller_class="k8s.io/ingress-nginx",controller_namespace="xxxxxxx",controller_pod="xxxxxxxxxxxxxx",host="xxxxxxxxxxxxxxxxxxxxxxxx",ingress="xxxxx",method="POST",namespace="xxxxxx",path="/",service="xxxxxx",status="200"}
But for few of nginx_ingress_controller_requests we are getting host as below as "_"
nginx_ingress_controller_requests{canary="",controller_class="k8s.io/ingress-nginx",controller_namespace="xxxxxxxx",controller_pod="xxxxxxxxxxxxxxxxxxxxxxx",host="_",ingress="xxxxxxx",method="POST",namespace="xxxxxxxx",path="/",service="xxxxx",status="200"}
NGINX Ingress controller version
NGINX Ingress controller
Release: 1.10.1
Build: git-be46124cc
Repository: https://github.com/kubernetes/ingress-nginx.git
nginx version: nginx/1.21.6
Kubernetes version
Client Version: v1.31.2
Kustomize Version: v5.4.2
Server Version: v1.29.1
The text was updated successfully, but these errors were encountered: