Skip to content

credhub_exporter job from prometheus/28.0.0

Github source: 35ab18d9 or master branch

Properties

credhub_exporter

credhub

api_url

Credhub API URL

ca_certs

Credhub CA certificates (PEM format)

Default
""
client_id

Credhub Client ID

client_secret

Credhub Client Secret

filters

generic-certificates

List of to match generic credentials paths that may contains certificates

Default
[]
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_level

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

Default
info

log_stream

Set the log target stream ‘stdout’ or ‘stderr’

Default
stderr

metrics

deployment

Deployment name to be reported as a metric label

environment

Environment label to be attached to metrics

namespace

Metrics Namespace

Default
credhub
update_interval

Metrics update interval given as golang duration format

Default
6h

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

Default
/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).

  • config/bpm.yml (from bpm.yml.erb)
  • config/credhub_tls_ca_cert.pem (from credhub_tls_ca_cert.pem.erb)
  • config/web_tls_cert.pem (from web_tls_cert.pem.erb)
  • config/web_tls_key.pem (from web_tls_key.pem.erb)

Packages

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