diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2021-02-14 00:23:21 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2021-02-14 00:23:21 +0100 |
commit | 70aa7195a08df1362c1801731a52ac75defdc636 (patch) | |
tree | abfd9e5f9bdcde3d6479295411564b7cdf0983d1 | |
parent | Add auto-deployment of all kubernetes files in kubernetes/ folder (diff) | |
download | seven-wonders-70aa7195a08df1362c1801731a52ac75defdc636.tar.gz seven-wonders-70aa7195a08df1362c1801731a52ac75defdc636.tar.bz2 seven-wonders-70aa7195a08df1362c1801731a52ac75defdc636.zip |
Cleanup monitoring config
-rw-r--r-- | kubernetes/monitoring.yml | 8 |
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: |