PromQL Expression Reference
The PromQL expressions in this doc can be used to configure alerts.
For more information about querying the Prometheus time series database, refer to the official Prometheus documentation.
Cluster Metrics
Cluster CPU Utilization
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Cluster Load Average
Catalog | Expression |
---|---|
Detail |
<table><tr><td>load1</td><td> |
Summary |
<table><tr><td>load1</td><td> |
Cluster Memory Utilization
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Cluster Disk Utilization
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Cluster Disk I/O
Catalog | Expression |
---|---|
Detail |
<table><tr><td>read</td><td> |
Summary |
<table><tr><td>read</td><td> |
Cluster Network Packets
Catalog | Expression |
---|---|
Detail |
<table><tr><td>receive-dropped</td><td> |
Summary |
<table><tr><td>receive-dropped</td><td> |
Cluster Network I/O
Catalog | Expression |
---|---|
Detail |
<table><tr><td>receive</td><td> |
Summary |
<table><tr><td>receive</td><td> |
Node Metrics
Node CPU Utilization
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Node Load Average
Catalog | Expression |
---|---|
Detail |
<table><tr><td>load1</td><td> |
Summary |
<table><tr><td>load1</td><td> |
Node Memory Utilization
Catalog | Expression |
---|---|
Detail |
|
Summary |
`1 - sum(node_memory_MemAvailable_bytes{instance=~"$instance"}) / sum(node_memory_MemTotal_bytes{instance=~"$instance"}) ` |
Node Disk Utilization
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Node Disk I/O
Catalog | Expression |
---|---|
Detail |
<table><tr><td>read</td><td> |
Summary |
<table><tr><td>read</td><td> |
Node Network Packets
Catalog | Expression |
---|---|
Detail |
<table><tr><td>receive-dropped</td><td> |
Summary |
<table><tr><td>receive-dropped</td><td> |
Node Network I/O
Catalog | Expression |
---|---|
Detail |
<table><tr><td>receive</td><td> |
Summary |
<table><tr><td>receive</td><td> |
Etcd Metrics
GRPC Client Traffic
Catalog | Expression |
---|---|
Detail |
<table><tr><td>in</td><td> |
Summary |
<table><tr><td>in</td><td> |
Peer Traffic
Catalog | Expression |
---|---|
Detail |
<table><tr><td>in</td><td> |
Summary |
<table><tr><td>in</td><td> |
DB Size
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Active Streams
Catalog | Expression |
---|---|
Detail |
<table><tr><td>lease-watch</td><td> |
Summary |
<table><tr><td>lease-watch</td><td> |
Raft Proposals
Catalog | Expression |
---|---|
Detail |
<table><tr><td>applied</td><td> |
Summary |
<table><tr><td>applied</td><td> |
RPC Rate
Catalog | Expression |
---|---|
Detail |
<table><tr><td>total</td><td> |
Summary |
<table><tr><td>total</td><td> |
Disk Operations
Catalog | Expression |
---|---|
Detail |
<table><tr><td>commit-called-by-backend</td><td> |
Summary |
<table><tr><td>commit-called-by-backend</td><td> |
Disk Sync Duration
Catalog | Expression |
---|---|
Detail |
<table><tr><td>wal</td><td> |
Summary |
<table><tr><td>wal</td><td> |
Kubernetes Components Metrics
API Server Request Latency
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
API Server Request Rate
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Scheduling Failed Pods
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Controller Manager Queue Depth
Catalog | Expression |
---|---|
Detail |
<table><tr><td>volumes</td><td> |
Summary |
<table><tr><td>volumes</td><td> |
Scheduler E2E Scheduling Latency
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Scheduler Preemption Attempts
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Ingress Controller Connections
Catalog | Expression |
---|---|
Detail |
<table><tr><td>reading</td><td> |
Summary |
<table><tr><td>reading</td><td> |
Ingress Controller Request Process Time
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Rancher Logging Metrics
Fluentd Buffer Queue Rate
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Fluentd Input Rate
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Workload Metrics
Workload CPU Utilization
Catalog | Expression |
---|---|
Detail |
<table><tr><td>cfs throttled seconds</td><td> |
Summary |
<table><tr><td>cfs throttled seconds</td><td> |
Workload Memory Utilization
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Workload Network Packets
Catalog | Expression |
---|---|
Detail |
<table><tr><td>receive-packets</td><td> |
Summary |
<table><tr><td>receive-packets</td><td> |
Workload Network I/O
Catalog | Expression |
---|---|
Detail |
<table><tr><td>receive</td><td> |
Summary |
<table><tr><td>receive</td><td> |
Workload Disk I/O
Catalog | Expression |
---|---|
Detail |
<table><tr><td>read</td><td> |
Summary |
<table><tr><td>read</td><td> |
Pod Metrics
Pod CPU Utilization
Catalog | Expression |
---|---|
Detail |
<table><tr><td>cfs throttled seconds</td><td> |
Summary |
<table><tr><td>cfs throttled seconds</td><td> |
Pod Memory Utilization
Catalog | Expression |
---|---|
Detail |
|
Summary |
|
Pod Network Packets
Catalog | Expression |
---|---|
Detail |
<table><tr><td>receive-packets</td><td> |
Summary |
<table><tr><td>receive-packets</td><td> |
Pod Network I/O
Catalog | Expression |
---|---|
Detail |
<table><tr><td>receive</td><td> |
Summary |
<table><tr><td>receive</td><td> |
Pod Disk I/O
Catalog | Expression |
---|---|
Detail |
<table><tr><td>read</td><td> |
Summary |
<table><tr><td>read</td><td> |
Container Metrics
Container CPU Utilization
Catalog | Expression |
---|---|
cfs throttled seconds |
|
usage seconds |
|
system seconds |
|
user seconds |
|