From 6d42878ee37501fb62f52e650636b53a84b6fd2e Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Wed, 16 Sep 2015 20:35:23 +0200 Subject: [PATCH] Make -web.external-url help string more verbose. --- cmd/prometheus/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/prometheus/config.go b/cmd/prometheus/config.go index 860516882..688502de4 100644 --- a/cmd/prometheus/config.go +++ b/cmd/prometheus/config.go @@ -76,7 +76,7 @@ func init() { ) cfg.fs.StringVar( &cfg.prometheusURL, "web.external-url", "", - "The URL under which Prometheus is externally reachable (for example, if Prometheus is served via a reverse proxy). Used for generating relative and absolute links back to Prometheus itself. If omitted, relevant URL components will be derived automatically.", + "The URL under which Prometheus is externally reachable (for example, if Prometheus is served via a reverse proxy). Used for generating relative and absolute links back to Prometheus itself. If the URL has a path portion, it will be used to prefix all HTTP endpoints served by Prometheus. If omitted, relevant URL components will be derived automatically.", ) cfg.fs.StringVar( &cfg.web.MetricsPath, "web.telemetry-path", "/metrics",