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!

Spans

Below you can find a list of all spans declared by this project.

Mongodb Command Observation Span

Timer created around a MongoDB command execution.

Span name spring.data.mongodb.command.

Fully qualified name of the enclosing class org.springframework.data.mongodb.observability.MongoObservation.

Table 1. Tag Keys

Name

Description

db.connection_string (required)

MongoDB connection string.

db.mongodb.collection (required)

MongoDB collection name.

db.name (required)

MongoDB database name.

db.operation (required)

MongoDB command value.

db.system (required)

MongoDB database system.

db.user (required)

MongoDB user.

net.peer.name (required)

Name of the database host.

net.peer.port (required)

Logical remote port number.

net.sock.peer.addr (required)

Mongo peer address.

net.sock.peer.port (required)

Mongo peer port.

net.transport (required)

Network transport.

spring.data.mongodb.cluster_id (required)

MongoDB cluster identifier.