This topic describes the metrics that are used in Application Real-Time Monitoring (ARMS) Application Monitoring eBPF Edition.
Business metrics
Common dimensions
Dimension name | Dimension key |
Service name | service |
Service PID | pid |
Server IP address | serverIp |
Interface | rpc |
Metrics
The following table describes the metrics that available for all access types. When you perform a query operation, you only need to replace $callType with a specific access type. For more information about access types, see Service access types and available dimensions.
For example, to query the number of HTTP requests, you only need to change arms_$callType_requests_count to arms_http_requests_count.
Metric name | Metric | Measurement | Collection interval | Unit | Dimension |
Total number of requests | arms_$callType_requests_count | Gauge | 15 | None | Different service access types have different dimensions. For more information, see Service access types and available dimensions. |
Number of invalid requests | arms_$callType_requests_error_count | Gauge | 15 | None | |
Total request duration | arms_$callType_requests_seconds | Gauge | 15 | Seconds | |
Number of slow requests | arms_$callType_requests_slow_count | Gauge | 15 | None |
Network metrics
Metric name | Metric | Measurement | Collection interval | Unit | Dimension |
Number of bytes sent | arms_npm_sent_bytes_total | Gauge | 15 | None |
|
Number of bytes received | arms_npm_recv_bytes_total | Gauge | 15 | None | |
Number of packets sent | arms_npm_sent_packets_total | Gauge | 15 | None | |
Number of packets received | arms_npm_recv_packets_total | Gauge | 15 | None | |
Average round-trip time | arms_npm_tcp_rtt_avg | Gauge | 15 | Seconds | |
Number of times that TCP packets are resent | arms_npm_tcp_retrans_total | Gauge | 15 | None | |
Total number of lost TCP packets | arms_npm_tcp_drop_total | Gauge | 15 | None |
Service access types and available dimensions
Client
Access types
http_client
Dimensions
endpoint: the endpoint of the peer server
source: the source of the metric (Valid value: eBPF)
callType: the access type of the service
clusterId: the ID of the cluster
destId: the ID of the client
rpc: the address from which a remote procedure call is made
service: the name of the application
workloadKind: the controller type (Valid values: Deployment, StatefulSet, and DaemonSet)
workloadName: the controller name
Server
Access types
http
Dimensions
endpoint: the endpoint of the service
source: the source of the metric (Valid value: eBPF)
callType: the access type of the service
clusterId: the ID of the cluster
destId: the ID of the server
rpc: the address from which a remote procedure call is made
service: the name of the application
workloadKind: the controller type (Valid values: Deployment, StatefulSet, and DaemonSet)
workloadName: the controller name
Database
Access types
mysql
mysql_server
redis
redis_server
Dimensions
endpoint: the endpoint of the database
source: the source of the metric (Valid value: eBPF)
callType: the access type of the service
clusterId: the ID of the cluster
destId: the ID of the database
rpc: the address from which a remote procedure call is made
service: the name of the application
workloadKind: the controller type (Valid values: Deployment, StatefulSet, and DaemonSet)
workloadName: the controller name