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"