From d7d7e26bc64e7b27a88b34ab2255e1f76980224d Mon Sep 17 00:00:00 2001 From: Ferran Rodenas Date: Wed, 9 Nov 2016 11:03:10 +0100 Subject: [PATCH] Change default namespace to cf version 6.22.1+6b7af9c-2016-09-24, Cloud Foundry command line tool Usage: cf [global options] command [arguments...] [command options] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before getting started: config login,l target,t help,h logout,lo Application lifecycle: apps,a logs set-env,se push,p ssh create-app-manifest start,st app stop,sp env,e restart,rs scale restage,rg events Services integration: marketplace,m create-user-provided-service,cups services,s update-user-provided-service,uups create-service,cs create-service-key,csk update-service delete-service-key,dsk delete-service,ds service-keys,sk service service-key bind-service,bs bind-route-service,brs unbind-service,us unbind-route-service,urs Route and domain management: routes,r delete-route create-domain domains map-route create-route unmap-route Space management: spaces create-space set-space-role space-users delete-space unset-space-role Org management: orgs,o set-org-role org-users unset-org-role CLI plugin management: plugins add-plugin-repo repo-plugins install-plugin list-plugin-repos Commands offered by installed plugins: create-autoscale-policy dev Global options: --help, -h Show help -v Print API request diagnostics to stdout 'cf help -a' lists all commands with short descriptions. See 'cf help ' to read about a specific command. --- README.md | 2 +- cf_exporter.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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).", )