Skip to main content

Metrics

# 排查 Namespace 流量
sum(rate(container_network_transmit_bytes_total{}[5m])) by (namespace)

# 节点网络
sum(rate(node_network_transmit_bytes_total{}[$__rate_interval]))

sum(rate(container_cpu_usage_seconds_total{container="apisix"}[$__rate_interval]))

sum(container_memory_working_set_bytes{namespace="haproxy-controller",container="haproxytech-ingress-controller"})
metricfor
CPU
container_cpu_user_seconds_totalcpu user
container_cpu_system_seconds_totalcpu sys
container_cpu_usage_seconds_totalcpu total
Memory
container_memory_cachemem cache
container_memory_rssmem rss
container_memory_swapmem swap
container_memory_usage_bytesmem usage
container_memory_working_set_bytesmem working set
container_memory_max_usage_bytesmem max usage
container_memory_failcntmem failed
container_memory_failures_totalallocation failures
kube_pod_container_resource_limits_memory_bytesmem limit
IO
container_fs_io_time_seconds_total
container_fs_io_time_weighted_seconds_total
container_fs_writes_bytes_total
container_fs_reads_bytes_total
Network
container_network_receive_bytes_total
container_network_transmit_bytes_total
container_network_receive_packets_dropped_total
container_network_transmit_packets_dropped_total
container_network_receive_errors_total
container_network_transmit_errors_total