Skip to content
On this page

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)

Released under the Apache License 2.0.