From 1aa08f594d089d220ea703b0b098b30e6a2e632d Mon Sep 17 00:00:00 2001 From: jandres - moscardo Date: Tue, 2 Nov 2021 20:27:30 +0100 Subject: [PATCH] Update README.md prometheus (#13514) Modify the doc to warn users about Prometheus sending `domain:port` --- docs/metrics/prometheus/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/metrics/prometheus/README.md b/docs/metrics/prometheus/README.md index 384e6b6c3..1b27b5751 100644 --- a/docs/metrics/prometheus/README.md +++ b/docs/metrics/prometheus/README.md @@ -114,6 +114,8 @@ Start (or) Restart Prometheus service by running Here `prometheus.yml` is the name of configuration file. You can now see MinIO metrics in Prometheus dashboard. By default Prometheus dashboard is accessible at `http://localhost:9090`. +Prometheus sets the `Host` header to `domain:port` as part of HTTP operations against the MinIO metrics endpoint. For MinIO deployments behind a load balancer, reverse proxy, or other control plane (HAProxy, nginx, pfsense, opnsense, etc.), ensure the network service supports routing these requests to the deployment. + ### 6. Configure Grafana After Prometheus is configured, you can use Grafana to visualize MinIO metrics.