Metrics from short-lived Kubernetes Job pods never appear
IntermediateTroubleshootingKubernetes monitoring and the Prometheus Operator
Answer
Likely causes → The pod finishes before the next scrape (30s interval), or the PodMonitor is selected but the pod is gone by discovery time.
Diagnose → Job duration vs scrape interval.
Fix → Push final metrics to Pushgateway (or OTel collector) at job end, or have the job stay alive for one scrape window.
Prevent → Track job success via kube-state-metrics (kube_job_status_succeeded, kube_job_status_failed) instead of app metrics.
More on Kubernetes monitoring and the Prometheus Operator
A new ServiceMonitor is not picked up by the Prometheus OperatorIntermediateServiceMonitor is selected but its targets don't appear on `/targets`IntermediateServiceMonitor target appears but Operator logs `skipping servicemonitor ... failed to get secret`AdvancedPodMonitor targets show `DOWN` with `connection refused` on port 8080 while the app listens on 9090BeginnerPrometheusRule created but rules don't show in PrometheusIntermediate`KubeletDown` / `TargetDown` alerts fire for kube-scheduler and kube-controller-manager on EKS/GKEBeginner