diff --git a/README.md b/README.md index b8ae1fe1..8ae3338b 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ This exporter can be deployed using the [Prometheus BOSH Release][prometheus-bos | cf.username
CF_EXPORTER_CF_USERNAME | Yes | | Cloud Foundry Username | | cf.password
CF_EXPORTER_CF_PASSWORD | Yes | | Cloud Foundry Password | | filter.collectors
CF_EXPORTER_FILTER_COLLECTORS | No | | Comma separated collectors to filter (`Applications`, `Organizations`, `Services`, `Spaces`) | -| metrics.namespace
CF_EXPORTER_METRICS_NAMESPACE | No | cf_exporter | Metrics Namespace | +| metrics.namespace
CF_EXPORTER_METRICS_NAMESPACE | No | cf | Metrics Namespace | | skip-ssl-verify
CF_EXPORTER_SKIP_SSL_VERIFY | No | false | Disable SSL Verify | | web.listen-address
CF_EXPORTER_WEB_LISTEN_ADDRESS | No | :9193 | Address to listen on for web interface and telemetry | | web.telemetry-path
CF_EXPORTER_WEB_TELEMETRY_PATH | No | /metrics | Path under which to expose Prometheus metrics | diff --git a/cf_exporter.go b/cf_exporter.go index ba6f39b6..46271106 100644 --- a/cf_exporter.go +++ b/cf_exporter.go @@ -39,7 +39,7 @@ var ( ) metricsNamespace = flag.String( - "metrics.namespace", "cf_exporter", + "metrics.namespace", "cf", "Metrics Namespace ($CF_EXPORTER_METRICS_NAMESPACE).", )