Hi I’m using MongoDB Percona Exporter for scraping metrics from MongoDB. I’m not able to scrape collection size for collections in Database.
using:
extraArgs:
- –compatible-mode
- –collector.dbstats
- –collector.collstats-limit=0
- –collector.topmetrics
- –mongodb.collstats-colls=testDataBase.testCollection
- –collect-all
- –mongodb.uri=FQDN:27017
can someone explain how to get metrics of Collection Size.