Make -web.external-url help string more verbose.

This commit is contained in:
Julius Volz 2015-09-16 20:35:23 +02:00
parent 681eebfaee
commit 24d0d9190e
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ func init() {
) )
cfg.fs.StringVar( cfg.fs.StringVar(
&cfg.prometheusURL, "web.external-url", "", &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.fs.StringVar(
&cfg.web.MetricsPath, "web.telemetry-path", "/metrics", &cfg.web.MetricsPath, "web.telemetry-path", "/metrics",