diff --git a/main.go b/main.go index 4fb67a17..372ad54d 100644 --- a/main.go +++ b/main.go @@ -90,7 +90,7 @@ func main() { flagset := flag.NewFlagSet(os.Args[0], flag.ExitOnError) flagset.StringVar(&insecureListenAddress, "insecure-listen-address", "", "The address the prom-label-proxy HTTP server should listen on.") - flagset.StringVar(&internalListenAddress, "internal-listen-address", "", "The address the internal prom-label-proxy HTTP server should listen on to expose metrics about itself.") + flagset.StringVar(&internalListenAddress, "internal-listen-address", "", "The address the internal prom-label-proxy HTTP server should listen on to expose metrics about itself as well as the pprof endpoints. By default, prom-label-proxy doesn't start the internal HTTP server.") flagset.StringVar(&queryParam, "query-param", "", "Name of the HTTP parameter that contains the tenant value. At most one of -query-param, -header-name and -label-value should be given. If the flag isn't defined and neither -header-name nor -label-value is set, it will default to the value of the -label flag.") flagset.StringVar(&headerName, "header-name", "", "Name of the HTTP header name that contains the tenant value. At most one of -query-param, -header-name and -label-value should be given.") flagset.StringVar(&upstream, "upstream", "", "The upstream URL to proxy to.")