Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

基本介绍

参考:

指标概览

指标名称

指标类型

指标单位

Help信息

指标描述

rpc.server.request.duration

Histogram

ms

Measures the duration of inbound RPC.

Server

端请求执行的时间开销分组。

rpc.server.request.total

Counter

Total processed request number.

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

rpc.server.request.active

Gauge

Number of active server requests.

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

rpc.server.request.body_size

Counter

bytes

Incoming request bytes total.

请求的字节总大小。

rpc.server.response.body_size

Counter

bytes

Response bytes total.

返回的字节总大小。

指标详述

rpc.server.request.duration

默认

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

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

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.status_code

处理返回的GRPC状态码。

0

rpc.

server.request.total

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.status_code

处理返回的GRPC状态码。

0

rpc.server.request.active

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

Counter


Total processed request number.

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

rpc.server.request.active

Gauge


Number of active server requests.

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

rpc.server.request.body_size

Counter

bytes

Incoming request bytes total.

请求的字节总大小。

rpc.server.response.body_size

Counter

bytes

Response bytes total.

返回的字节总大小。

标签列表

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

rpc.server.request.body_size

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.

server

grpc.

response.body

error_

size
/api.HelloService/SayHello

code

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

请求的方法名称。

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

-1; 0; 51

rpc.grpc.status_code

处理返回的GRPC状态码。

0



Panel
titleContent Menu

Table of Contents
maxLevel10