Prometheus: relabel your scrape_config
Prometheus labels every data point — the most well-known example of a label is (probably) instance. Take a look at this query result (query: up{job="prometheus"}): up{instance="127.0.0.1:9090",job="prometheus"} 1 So what does this tell me? I queried for the “up” metric and filtered it for “prometheus” — yay. The “1” says, my service is alive. So far so gut. Readability Since we are in the process of running a few Prometheus servers (in federation), each of those metrics will report back with instance="127....