CHORE(prometheus): disable direct scraping

- Disable ServiceMonitor/PodMonitor scraping in Prometheus
- OTel Collector now handles all metrics collection
- Prevents out-of-order sample errors from duplicate scraping
This commit is contained in:
2026-01-09 23:39:30 +09:00
parent 31f15e230d
commit a3c5a8dbcf

View File

@@ -84,11 +84,16 @@ prometheus:
limits:
memory: 768Mi
# ServiceMonitor selector - scrape all ServiceMonitors
# ServiceMonitor selector - disable direct scraping (OTel handles it)
# Set to non-existent label to effectively disable
serviceMonitorSelectorNilUsesHelmValues: false
serviceMonitorSelector: {}
serviceMonitorSelector:
matchLabels:
prometheus-scrape: "direct" # No ServiceMonitors have this label
podMonitorSelectorNilUsesHelmValues: false
podMonitorSelector: {}
podMonitorSelector:
matchLabels:
prometheus-scrape: "direct" # No PodMonitors have this label
probeSelectorNilUsesHelmValues: false
ruleSelector: {}