From 6c920de77a76155e75745d2ef4dd1d8570306036 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 4 May 2023 13:33:54 -0400 Subject: [PATCH] vm - add service monitor --- .../victoria-metrics/helm-release.yaml | 23 ++++--------------- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/cluster/apps/monitoring/victoria-metrics/helm-release.yaml b/cluster/apps/monitoring/victoria-metrics/helm-release.yaml index 1c196dc..f3ca2ae 100644 --- a/cluster/apps/monitoring/victoria-metrics/helm-release.yaml +++ b/cluster/apps/monitoring/victoria-metrics/helm-release.yaml @@ -36,21 +36,8 @@ spec: # cpu: 500m # memory: 512Mi - serviceMonitor: # TODO - # -- Enable deployment of Service Monitor for server component. This is Prometheus operator object - enabled: false - # -- Service Monitor labels - extraLabels: {} - # -- Service Monitor annotations - annotations: {} - # -- Commented. Prometheus scrape interval for server component - interval: 15s - # -- Commented. Prometheus pre-scrape timeout for server component - scrapeTimeout: 5s - # -- Commented. HTTP scheme to use for scraping. - scheme: https - # -- Commented. TLS configuration to use when scraping the endpoint - tlsConfig: - insecureSkipVerify: true - # -- Service Monitor relabelings - relabelings: [] + serviceMonitor: + enabled: true + extraLabels: + release: kube-prometheus-stack + scheme: http