Micrometer Database Binder
The Database Binder is a shortcut to add the statistics for all collections in your given MongoDB by creating a collection binder for every collection in database.
Usage
scala
DatabaseMetrics(MongoTestServer.providerMetrics.database()).bindTo(registry)