Skip to content

mongodb_exporter job from prometheus/13.0.0

Github source: 7bf0fa69 or master branch

Properties

mongodb_exporter

auth_pass

Password for basic auth

auth_user

Username for basic auth

collect_database

Collect MongoDB database metrics

collect_oplog

Collect Mongodb Oplog status

collect_replset

Collect Mongodb replica set status

groups_enabled

Comma-separated list of groups to use, for more info see: docs.mongodb.org/manual/reference/command/serverStatus/

log_backtrace_at

When logging hits line file:N, emit a stack trace

mongodb

tls_ca

MongoDB SSL CA (PEM encoded)

tls_cert

MongoDB SSL Certificate (PEM encoded)

tls_disable_hostname_validation

Do hostname validation for server connection

tls_private_key

MongoDB SSL Private Key (PEM encoded)

uri

Mongodb URI, format: [mongodb://][user:pass@]host1[:port1][,host2[:port2],…][/database][?options]

v

Log level for V logs

vmodule

Comma-separated list of pattern=N settings for file-filtered logging

web

metrics_path

Path under which to expose metrics

port

Port on which to expose metrics and web interface

Default
9001
tls_cert

SSL Certificate (PEM encoded)

tls_client_ca

SSL Client CA (PEM encoded)

tls_private_key

SSL Private Key (PEM encoded)

Templates

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

  • bin/mongodb_exporter_ctl (from bin/mongodb_exporter_ctl)
  • config/mongodb_tls_ca.pem (from config/mongodb_tls_ca.pem)
  • config/mongodb_tls_cert.pem (from config/mongodb_tls_cert.pem)
  • config/mongodb_tls_key.pem (from config/mongodb_tls_key.pem)
  • config/web_tls_cert.pem (from config/web_tls_cert.pem)
  • config/web_tls_client_ca.pem (from config/web_tls_client_ca.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.