percona / mongodb_exporter

A Prometheus exporter for MongoDB including sharding, replication and storage engines
Apache License 2.0
1.18k stars 423 forks source link

Please support the ability to set SCRAM-SHA-1 as the auth mechanism #771

Open Stono opened 10 months ago

Stono commented 10 months ago

Currently it appears the exporter will first try SCRAM-SHA-256, then SCRAM-SHA-1, which makes sense. However as i primarily use atlas this results in us logging an auth failure first. It's not a huge deal, but it'd be nice if i could do something like --mongodb.auth-mechanism=SCRAM-SHA-1 to remove that.