- An exporter serves current values as text: a line is a name, labels and a number, and
# TYPEsays whether it is a counter or a gauge. - Prometheus scrapes the targets in
scrape_configseveryscrape_intervalby itself, adds thejobandinstancelabels and writesup. - The scrape state is in
/api/v1/targets:healthand the reason inlastError;up= 0 means the target did not answer. - A new job is a block in
prometheus.yml,promtool check configandsystemctl reload prometheus. - The thousands of lines at the start of the lesson are time series, one per label combination, and the memory free for programs is
MemAvailable.
Step 7 of 7 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson