指标列表

指标名称

指标类型

指标单位

Help信息

指标描述

rpc.client.request.duration

Histogram

ms

Measures the duration of inbound RPC.

客户端端请求执行的时间开销分组。默认bucket分组:

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

rpc.client.request.total

Counter


Total processed request number.

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

rpc.client.request.active

Gauge


Number of active server requests.

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

rpc.client.request.body_size

Counter

bytes

Incoming request bytes total.

请求的字节总大小。

rpc.client.response.body_size

Counter

bytes

Response bytes total.

返回的字节总大小。

标签列表

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

Label名称

Label描述

Label示例

net.service.name

请求的服务名称。微服务场景下有意义,否则值是空或者default

user

net.host.address

接受请求的本机IP地址。同一服务可能有多个IP地址,当前请求连接的是哪个IP就记录哪个IP。

10.0.1.132

net.host.port

接受请求的本机端口。同一服务可能有多个端口地址,当前请求连接的是哪个端口就记录哪个端口。

8000

rpc.grpc.method

请求的方法名称。

/api.HelloService/SayHello

rpc.grpc.error_code

请求返回的业务自定义错误码,字符串类型以提高兼容性。

-1; 0; 51

rpc.grpc.status_code

处理返回的GRPC状态码。

0

Content Menu

  • No labels