Prometheus - OS PromQl Expression
Table of Contents
About
This page is about the calculation of OS metrics with promql
This metrics are collected and send to the server on linux by the node_exporter.
Expression
CPU
The average amount of CPU time spent in system mode, per second, over the last minute (in seconds) - Url form -
rate(node_cpu_seconds_total{mode="system"}[1m])
Filesystem space
The filesystem space available to non-root users (in bytes) - Url form
node_filesystem_avail_bytes
Network traffic
- The average network traffic received, per second, over the last minute (in bytes) - Url form
rate(node_network_receive_bytes_total[1m])