Skip to content
On this page

Micrometer Operations Binder

Binder for Micrometer some network metrics of your MongoDB.

Metrics

MetricTypeDescriptionUnit
mongodb.server.status.operations.insertGaugeThe total number of insert operations received since the mongod instance last started.Operations
mongodb.server.status.operations.queryGaugeThe total number of queries received since the mongod instance last started.Operations
mongodb.server.status.operations.updateGaugeThe total number of update operations received since the mongod instance last started.Operations
mongodb.server.status.operations.deleteGaugeThe total number of delete operations since the mongod instance last started.Operations
mongodb.server.status.operations.getmoreGaugeThe total number of getMore operations since the mongod instance last started.Operations
mongodb.server.status.operations.commandGaugeThe total number of commands issued to the database since the mongod instance last started.Operations

Usage

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

Released under the Apache License 2.0.