percona / mongodb_exporter

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

Update REFERENCE.md to include collector.dbstatsfreestorage #791

Closed knuteriksen closed 3 months ago

knuteriksen commented 6 months ago

Adds the --collector.dbstatsfreestorage option introduced in v.0.40.0.

I would also like to add a warning somewhere that states the same as the mongodb documentation:

If the instance has a large number of collections or indexes, obtaining free space usage data may cause processing delays

However, I am not sure where that would fit best.

MongoDB themselves recognized the potential impact to production by setting freeStorage to false by default here

Related pr introducing the option


Below we provide a basic checklist of things that would make it a good PR:

Once all checks pass and the code is ready for review, please add pmm-review-exporters team as the reviewer. That would assign people from the review team automatically. Report any issues on our Forum.

it-percona-cla commented 6 months ago

CLA assistant check
All committers have signed the CLA.