Fix host header mention in prometheus metrics doc

This commit is contained in:
Daniel Wendler 2024-03-11 14:52:04 +01:00 committed by GitHub
parent 74daa4cbb3
commit 5cf1b95c29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -235,4 +235,4 @@ traefik_entrypoint_requests_total{code="200",entrypoint="web",method="GET",proto
// For incoming requests, the Host header is promoted to the // For incoming requests, the Host header is promoted to the
// Request.Host field and removed from the Header map. // Request.Host field and removed from the Header map.
As a workaround, to obtain the Host of a request as a label, one should use instead the `X-Forwarded-For` header. As a workaround, to obtain the Host of a request as a label, one should use instead the `X-Forwarded-Host` header.