Prometheus error on ingesting samples with different value but same timestamp errors due to pathType in ingress
Issue
-
Getting alert
Prometheus error on ingesting samples with different value but same timestamp errors
due to ingress havingpathType
not recognised as a unique value.ts=2025-04-02T11:53:58.521Z caller=scrape.go:1783 level=debug component="scrape manager" scrape_pool=serviceMonitor/openshift-monitoring/kube-state-metrics/0 target=https://172.000.000.000:8443/metrics msg="Duplicate sample for timestamp" series="kube_ingress_path{namespace=\"abc-abc\",ingress=\"abc-abc-cart\",host=\"www.abc-abc.abc.com\",path=\"/abc/abc\",service_name=\"cart\",service_port=\"3000\"}"
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.16+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.