When You Can't Rely on the Prometheus Up Metricby@esca
1,389 reads

When You Can't Rely on the Prometheus Up Metric

November 14th 2021
1 min
by @esca 1,389 reads
tldt arrow
Read on Terminal Reader🖨️
JS🚫

Too Long; Didn't Read

Prometheus can collect metric from 1 pod when Prometheus can reach the pod to scrape metrics. But this setup will not be able to tell how many pods are ready. This is when scraping directly from pod is done via Kubernetes service. This causes a false positive when Prometheus scrapes directly from the pod. With this topology, prometheus can reach all the pods and the up metric of each pod will have the value 1, even when the pods are not in the ready state or their readiness probes are failed.

Coin Mentioned

Mention Thumbnail
featured image - When You Can't Rely on the Prometheus Up Metric
Esca HackerNoon profile picture

@esca

Esca
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa