Editorial question46.1K views4,242 votes0 answers4,749 following
AI-generatedPrometheus–Kubernetes target lifecycle and time series retention after pod crash
Prometheus integrates with Kubernetes service discovery to scrape pod endpoints and logs scrape errors at warn level with target address and error context. The integration relies on metadata labels such as __meta_kubernetes_pod_name to associate failures with pod lifecycle events. Target state moves from UP to DOWN after consecutive scrape failures within sc