Prometheus - OS PromQl Expression

Scale Counter Graph

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])





Discover More
Scale Counter Graph
Prometheus - Node Exporter (Linux/Mac)

node exporter is a prometheus exporter for Linux OS Metrics: CPU, System Memory Utilization, and Disk Usage The Prometheus node exporter exports lots of system metrics via HTTP Metrics specific...



Share this page:
Follow us:
Task Runner