summaryrefslogtreecommitdiff
path: root/kubernetes/monitoring.yml
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2021-02-14 00:23:21 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2021-02-14 00:23:21 +0100
commit70aa7195a08df1362c1801731a52ac75defdc636 (patch)
treeabfd9e5f9bdcde3d6479295411564b7cdf0983d1 /kubernetes/monitoring.yml
parentAdd auto-deployment of all kubernetes files in kubernetes/ folder (diff)
downloadseven-wonders-70aa7195a08df1362c1801731a52ac75defdc636.tar.gz
seven-wonders-70aa7195a08df1362c1801731a52ac75defdc636.tar.bz2
seven-wonders-70aa7195a08df1362c1801731a52ac75defdc636.zip
Cleanup monitoring config
Diffstat (limited to 'kubernetes/monitoring.yml')
-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