Skip to content

credhub_exporter job from prometheus/24.1.0

Github source: aa072c6 or master branch

Properties

credhub_exporter

credhub

api_url

Credhub API URL

ca_certs

Credhub CA certificates (PEM format)

client_id

Credhub Client ID

client_secret

Credhub Client Secret

filters

generic-certificates

Json list of to match generic credentials paths that may contains certificates

name-like

Fetch credentials whose name contains the query string (fetch all credentials when empty)

path

Fetch credentials that exist under the provided path

log_format

Set the log target and format. Example: ‘logger:syslog?appname=bob&local=7’ or ‘logger:stdout?json=true’

log_level

Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]

metrics

deployment

Deployment name to be reported as a metric label

environment

Environment label to be attached to metrics

namespace

Metrics Namespace

skip_ssl_verify

Disable SSL Verify

Default
false

web

auth_password

Password for web interface basic auth

auth_username

Username for web interface basic auth

port

Port on which to expose web interface and telemetry

Default
"9358"
telemetry_path

Path under which to expose Prometheus metrics

tls_cert

TLS certificate (PEM format). If the certificate is signed by a certificate authority, the file should be the concatenation of the server’s certificate, any intermediates, and the CA’s certificate

tls_key

TLS private key (PEM format)

env

http_proxy

HTTP proxy to use

https_proxy

HTTPS proxy to use

no_proxy

List of comma-separated hosts that should skip connecting to the proxy

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/credhub_exporter/ directory (learn more).

  • bin/credhub_exporter_ctl (from bin/credhub_exporter_ctl)
  • config/credhub_tls_ca_cert.pem (from config/credhub_tls_ca_cert.pem)
  • config/web_tls_cert.pem (from config/web_tls_cert.pem)
  • config/web_tls_key.pem (from config/web_tls_key.pem)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.