Where to start First steps track · 15 stages
Linux Labs

Observability: metrics, alerts, logs

Quiz: metrics and Prometheus

Question 1 of 9
Leave the quiz

node_exporter lines and their types, MemAvailable and MemFree, /api/v1/targets with lastError, the up metric, promtool check config and reload, rate, sum by, an error share and a threshold. The questions follow the lessons “Metrics, exporters and scraping” and “PromQL: rate, sum and comparison”.

9 questions · threshold 70%

Read the output

How much space is free in the root file system, according to this line?

$ curl -s localhost:9100/metrics | grep 'avail_bytes.*mountpoint="/"'
node_filesystem_avail_bytes{device="/dev/vda4",fstype="ext4",mountpoint="/"} 5.3628928e+09
A–C or ↵ Sign in to answer
Loading…