PROMETHEUS-MONGODB-EXPORTER(1)
π PROMETHEUS-MONGODB-EXPORTER π
okay so bestie, welcome to the PROMETHEUS-MONGODB-EXPORTER(1) page β yes, section 1, the User Commands girlies, we're in the big leagues. this is the manual for prometheus-mongodb-exporter, and i am going to walk you through every single flag like we're texting at 2am. no skips. periodt. β¨
β¨ NAME β¨
prometheus-mongodb-exporter β Prometheus exporter for MongoDB π¦
πΈ DESCRIPTION πΈ
so basically: prometheus-mongodb-exporter is your little bridge between MongoDB and Prometheus. it's giving main character observability energy. π
π Usage of prometheus-mongodb-exporter π
here come the flags, and there are a lot of them, so buckle up. every one is listed below, exactly as it lives in the code, i'm not gatekeeping a single one. π
-alsologtostderrβ log to standard error as well as files (both, bestie, it does both)-auth.passstring β Password for basic auth.-auth.userstring β Username for basic auth.-groups.enabledstring β comma-separated list of groups to use; for more info see:docs.mongodb.org/manual/reference/command/serverStatus/-log_backtrace_atvalue β when logging hits linefile:N, emit a stack trace-log_dirstring β if it's non-empty, write log files in this directory-logtostderrβ log to standard error instead of files-mongodb.collect.collectionβ collect MongoDB collection metrics-mongodb.collect.connpoolstatsβ collect MongoDBconnpoolstats-mongodb.collect.databaseβ collect MongoDB database metrics-mongodb.collect.oplogβ collect MongoDB Oplog status (defaulttrue)-mongodb.collect.profileβ collect MongoDB profile metrics-mongodb.collect.replsetβ collect MongoDB replica set status (defaulttrue)-mongodb.collect.topβ collect MongoDB Top metrics-mongodb.mechanismstring β auth mechanism to connect to MongoDB (ie:MONGODB-X509)-mongodb.tls-castring β Path to PEM file that contains the CAs that are trusted for server connections.- if provided: MongoDB servers connecting to should present a certificate signed by one of this CAs.
- if not provided: system default CAs are used.
-mongodb.tls-certstring β Path to PEM file that contains the certificate (and optionally also the private key in PEM format).- this should include the whole certificate chain.
- if provided: the connection will be opened via TLS to the MongoDB server.
-mongodb.tls-disable-hostname-validationβ do hostname validation for server connection.-mongodb.tls-private-keystring β Path to PEM file that contains the private key (if it's not contained in themongodb.tls-certfile).-mongodb.uristring β MongoDB URI, format:[mongodb://] [user:pass@] host1[:port1] [,host2[:port2],...] [/database] [?options]. Note: default"mongodb://localhost:27017"-mongodb.usernamestring β Username to connect to MongoDB-stderrthresholdvalue β logs at or above this threshold go to stderr-vvalue β log level for V logs-versionβ printmongodb_exporterversion-vmodulevalue β comma-separated list ofpattern=Nsettings for file-filtered logging-web.listen-addressstring β address on which to expose metrics and web interface. (default":9001")-web.metrics-pathstring β path under which to expose metrics. (default"/metrics")-web.tls-certstring β Path to PEM file that contains the certificate (and optionally also the private key in PEM format).- this should include the whole certificate chain.
- if provided: the web socket will be a HTTPS socket.
- if not provided: only HTTP.
-web.tls-client-castring β Path to PEM file that contains the CAs that are trusted for client connections.- if provided: connecting clients should present a certificate signed by one of this CAs.
- if not provided: every client will be accepted. π
-web.tls-private-keystring β Path to PEM file that contains the private key (if it's not contained in theweb.tls-certfile).
fr fr, that's every single flag. not one got left behind. π
π AUTHOR π
this manpage was written by Nilesh Patra for the Debian distribution, and it can be used for any other usage of the program. absolute legend behaviour, we love to see it. π«Ά
and that's the whole thing, bestie! this page is for prometheus-mongodb-exporter 1.0...., dated May 2020 β go forth and export those metrics. you ate. no cap. πβ¨ππ¦πΈ
π¦ where this page comes from
- debian bookworm: prometheus-mongodb-exporter 1.0.0+git20180522.e755a44-3+b12 Β· MIT
- debian trixie: prometheus-mongodb-exporter 1.0.0+git20180522.e755a44-5+b3 Β· MIT
- ubuntu jammy: prometheus-mongodb-exporter 1.0.0+git20180522.e755a44-3 Β· MIT
- ubuntu noble: prometheus-mongodb-exporter 1.0.0+git20180522.e755a44-3build1 Β· MIT
- ubuntu noble: prometheus-mongodb-exporter 1.0.0+git20180522.e755a44-3ubuntu0.24.04.3 Β· MIT
- ubuntu questing: prometheus-mongodb-exporter 1.0.0+git20180522.e755a44-5
- ubuntu resolute: prometheus-mongodb-exporter 1.0.0+git20180522.e755a44-5build1 Β· MIT
- ubuntu stonking: prometheus-mongodb-exporter 1.0.0+git20180522.e755a44-5build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms