Cover for sample filtering and label removal, with observe, decide and act steps.

Metric relabeling filters samples before ingestion

Prometheus has several relabeling stages, and their similar syntax can hide different effects. Target relabeling transforms discovered targets before collection. Metric relabeling transforms scraped samples just before ingestion. A drop action at the first stage can prevent an endpoint from being scraped; the same action at the second stage discards matching samples from an endpoint that was already contacted. ...

August 4, 2027 · 5 min · XB Field Notes