Skip to content

Commit

Permalink
fix monitors selectors (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpi86 authored Nov 21, 2022
1 parent a47a81a commit 77cb937
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/charts/infra/prometheus/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
kube-prometheus-stack:
prometheus:
prometheusSpec:
serviceMonitorSelector: {}
podMonitorSelector: {}
retentionSize: "8GiB"
storageSpec:
volumeClaimTemplate:
Expand Down
4 changes: 2 additions & 2 deletions src/charts/infra/test-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ serviceMonitor:
interval: 10s
namespace: "monitoring"
port: 80
selector: "release: prometheus-operator"
selector: "prometheus: enabled"
path: /metrics

podMonitor:
enabled: false
interval: 10s
namespace: "monitoring"
port: 80
selector: "release: prometheus-operator"
selector: "prometheus: enabled"
path: /metrics

0 comments on commit 77cb937

Please sign in to comment.