From 70aa7195a08df1362c1801731a52ac75defdc636 Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Sun, 14 Feb 2021 00:23:21 +0100 Subject: Cleanup monitoring config --- kubernetes/monitoring.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kubernetes') 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: -- cgit