Skip to content
On this page

Micrometer Network Binder

Binder for Micrometer some network metrics of your MongoDB.

Metrics

MetricTypeDescriptionUnit
mongodb.server.status.network.bytesInGaugeThe total number of bytes that the server has received over network.Bytes
mongodb.server.status.network.bytesOutGaugeThe total number of bytes that the server has sent over networkBytes

Usage

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

Released under the Apache License 2.0.