nginx-module-vts
nginx-module-vts copied to clipboard
Illegal host header
Illegal host header , invalid host Prometheus many invalid host metrics tag Causes too much influxDB SERIES For example,
curl http://127.0.0.1 -H 'Host: www.linuxhub.org'
curl http://127.0.0.1 -H 'Host: test'
curl http://127.0.0.1 -H 'Host: xxx'
Record a lot of invalid hosts
Instead, you can add a host
filter configuration file to nginx-vts-exporter
.
Yes, I'm struggling with this as well but I'm unable to replicate it using these curl commands. I am seeing random upstreams in my ::nogroups
though.
@linuxhub You probably have the vhost_traffic_status_filter_by_host option enabled. Please check it.
@dkrutsko Please let me know the detailed reproducible settings.