diff --git a/services/monitoring/deploy/prometheus/original-values.yaml b/services/monitoring/deploy/prometheus/original-values.yaml index c51baf5..dcfe23d 100644 --- a/services/monitoring/deploy/prometheus/original-values.yaml +++ b/services/monitoring/deploy/prometheus/original-values.yaml @@ -24,9 +24,8 @@ fullnameOverride: "" ## Labels to apply to all resources ## -commonLabels: {} -# scmhash: abc123 -# myLabel: aakkmd +commonLabels: + prometheus-monitoring: "enabled" ## Install Prometheus Operator CRDs ## diff --git a/services/monitoring/deploy/prometheus/prometheus-agent.yaml b/services/monitoring/deploy/prometheus/prometheus-agent.yaml index 315da44..a108b62 100644 --- a/services/monitoring/deploy/prometheus/prometheus-agent.yaml +++ b/services/monitoring/deploy/prometheus/prometheus-agent.yaml @@ -9,18 +9,16 @@ spec: prometheus-monitoring: enabled podMonitorSelector: - matchExpressions: - - key: app - operator: Exists + matchLabels: + prometheus-monitoring: enabled serviceMonitorNamespaceSelector: matchLabels: prometheus-monitoring: enabled serviceMonitorSelector: - matchExpressions: - - key: app - operator: Exists + matchLabels: + prometheus-monitoring: enabled replicas: 1 remoteWrite: