This topic describes the monitoring metrics related to the time consumed by remote procedure call (RPC) packets within an OceanBase Database tenant. You can specify a statistical period to query statistics about the time consumed by RPC packets in a single zone or on a single OBServer of an OceanBase Database tenant.
in
Definition
The average time consumed in receiving an RPC packet within a tenant in the specified statistical period.
Description
| Metric | Metric field name | Unit |
|---|---|---|
| in | rpc_packet_in_rt | Microseconds |
Calculation expression
(sum(rate(ob_sysstat{stat_id="10005",@LABELS}[@INTERVAL])) by (@GBLABELS) + sum(rate(ob_sysstat{stat_id="10006",@LABELS}[@INTERVAL])) by (@GBLABELS)) / sum(rate(ob_sysstat{stat_id="10000",@LABELS}[@INTERVAL])) by (@GBLABELS)
out
Definition
The average time consumed in sending an RPC packet within a tenant in the specified statistical period.
Description
| Metric | Metric field name | Unit |
|---|---|---|
| out | rpc_packet_out_rt | Microseconds |
Calculation expression
(sum(rate(ob_sysstat{stat_id="10005",@LABELS}[@INTERVAL])) by (@GBLABELS) + sum(rate(ob_sysstat{stat_id="10006",@LABELS}[@INTERVAL])) by (@GBLABELS)) / sum(rate(ob_sysstat{stat_id="10002",@LABELS}[@INTERVAL])) by (@GBLABELS)