This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Data MongoDB 4.4.0! |
Metrics
Below you can find a list of all metrics declared by this project.
Mongodb Command Observation
Timer created around a MongoDB command execution.
Metric name spring.data.mongodb.command
. Type timer
.
Metric name spring.data.mongodb.command.active
. Type long task timer
.
KeyValues that are added after starting the Observation might be missing from the *.active metrics. |
Micrometer internally uses nanoseconds for the baseunit. However, each backend determines the actual baseunit. (i.e. Prometheus uses seconds)
|
Fully qualified name of the enclosing class org.springframework.data.mongodb.observability.MongoObservation
.
Name |
Description |
|
MongoDB connection string. |
|
MongoDB collection name. |
|
MongoDB database name. |
|
MongoDB command value. |
|
MongoDB database system. |
|
MongoDB user. |
|
Name of the database host. |
|
Logical remote port number. |
|
Mongo peer address. |
|
Mongo peer port. |
|
Network transport. |
|
MongoDB cluster identifier. |