summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kubernetes/monitoring.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/monitoring.yml b/kubernetes/monitoring.yml
index f961ea64..a0d113b6 100644
--- a/kubernetes/monitoring.yml
+++ b/kubernetes/monitoring.yml
@@ -1,14 +1,14 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
+ name: seven-wonders-prometheus-monitor
+ namespace: seven-wonders
labels:
+ # this label is used by prometheus-operator to find ServiceMonitors
release: prometheus-operator
- k8s-app: spring-boot-actuator-monitor
- name: spring-boot-actuator-monitor
- namespace: seven-wonders
spec:
endpoints:
- - interval: 5s
+ - interval: 3s
path: /actuator/prometheus
port: 80-80
namespaceSelector:
bgstack15