度量

以下是本项目声明的所有指标列表。

MongoDB 命令观测

围绕 MongoDB 命令执行创建的计时器。

度量名称 spring.data.mongodb.command类型 timer

度量名称 spring.data.mongodb.command.active类型 long task timer

在启动观测后添加的键值可能会从 *.active 指标中缺失。
Micrometer 内部使用 纳秒 作为基本单位。但是,每个后端确定实际的基本单位。(即 Prometheus 使用秒)

包含类 org.springframework.data.mongodb.observability.MongoObservation 的完全限定名。

表 1. 低基数键

名称

描述

db.mongodb.collection (必需)

MongoDB 集合名称。

db.name (必需)

MongoDB 数据库名称。

db.operation (必需)

MongoDB 命令值。

db.system (必需)

MongoDB 数据库系统。

net.peer.name (必需)

数据库主机名称。

net.peer.port (必需)

逻辑远程端口号。

net.sock.peer.addr (必需)

Mongo 对等地址。

net.sock.peer.port (必需)

Mongo 对等端口。

net.transport (必需)

网络传输。

spring.data.mongodb.cluster_id (必需)

MongoDB 集群标识符。

© . This site is unofficial and not affiliated with VMware.