You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

指标列表

指标名称

指标类型

指标单位

Help信息

指标描述

component.orm.sql.duration

Histogram

ms

Measures the duration of all sql requests by ORM.

ORM执行的SQL请求时间开销分组。默认bucket分组:

[
  1, 
  5,
  10,
  25,
  50,
  75,
  100,
  250,
  500,
  750,
  1000,
  2500,
  5000,
  7500,
  10000,
  30000,
  60000
]

component.orm.sql.total

Counter


Total processed sql requests.

已经执行完毕的SQL请求总数。

component.orm.sql.active

Gauge


Number of active sql requests.

当前正在处理的SQL请求数量。

标签列表

具体每个指标包含哪些标签请查看sample文件。

Label名称

Label描述

Label示例

orm.sql.typeSQL执行类型

DB.ExecContext;DB.QueryContext

orm.config.type数据库连接类型

mysql;pgsql;mssql

orm.config.group数据库配置分组

default

orm.config.name数据库名称

user

net.host.address连接的数据库地址,可能是域名或者IP,不带端口

127.0.0.1

net.host.port连接的数据库端口

8000

Content Menu

  • No labels