diff --git a/services/monitoring/deploy/prometheus/prometheus-agent.yaml b/services/monitoring/deploy/prometheus/prometheus-agent.yaml index 15c25f8..315da44 100644 --- a/services/monitoring/deploy/prometheus/prometheus-agent.yaml +++ b/services/monitoring/deploy/prometheus/prometheus-agent.yaml @@ -8,15 +8,20 @@ spec: matchLabels: prometheus-monitoring: enabled - podMonitorSelector: null - + podMonitorSelector: + matchExpressions: + - key: app + operator: Exists serviceMonitorNamespaceSelector: matchLabels: prometheus-monitoring: enabled - serviceMonitorSelector: null - + serviceMonitorSelector: + matchExpressions: + - key: app + operator: Exists + replicas: 1 remoteWrite: - url: https://prometheus.monitoring.limbosolutions.com/api/v1/write