MongoDB percona Exporter for exporting Collection size in Database

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.

2 Likes

Hi @Vikas_Jella welcome back to the Percona forums!
We plot the size of the connections on the MongoDB Cluster Summary dashboard, for example: Grafana

1 Like