Skip to content
On this page

Micrometer Server Binder

Binder for Micrometer some server status metrics of your MongoDB.

Metrics

MetricTypeDescriptionUnit
mongodb.server.status.uptimeGaugeThe uptime of your Server in SecondsMilliseconds

Usage

scala
ServerMetrics(MongoTestServer.providerMetrics.database()).bindTo(registry)

Released under the Apache License 2.0.