From dac7a5e1f629dda8fa3e5c9270e302413613bfdb Mon Sep 17 00:00:00 2001 From: trivernis Date: Thu, 14 Dec 2023 16:58:35 +0100 Subject: [PATCH] apps(metrics): Remove unused monitor --- apps/metrics/app.yaml | 1 - apps/metrics/app/monitor.yaml | 20 -------------------- 2 files changed, 21 deletions(-) delete mode 100644 apps/metrics/app/monitor.yaml diff --git a/apps/metrics/app.yaml b/apps/metrics/app.yaml index b216c9e..8b93bfc 100644 --- a/apps/metrics/app.yaml +++ b/apps/metrics/app.yaml @@ -9,4 +9,3 @@ resources: - app/release.yaml - app/prometheus.yaml - app/route.yaml - - app/monitor.yaml diff --git a/apps/metrics/app/monitor.yaml b/apps/metrics/app/monitor.yaml deleted file mode 100644 index 10fe05f..0000000 --- a/apps/metrics/app/monitor.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - labels: - name: prometheus - name: prometheus - namespace: metrics -spec: - endpoints: - - interval: 30s - targetPort: 9090 - path: /metrics - - interval: 30s - targetPort: 8080 - path: /metrics - namespaceSelector: - any: true - selector: - matchLabels: - prometheus.io/scrape: "true"