Operator based metrics
guide on how to enable crd-based scraping targets
Step 1 - Enable victoria-metrics-operator
victoria-metrics-operator:
# Do not enable the operator and the builtinVMAgent at the same time
# Deploy groundcover once with the operator enabled, and then add the builtinVMAgent section
enabled: truevictoria-metrics-operator:
enabled: true
builtinVMAgent:
enabled: true
# By default, all scrape CRDs (ServiceMonitor, PodMonitor, PrometheusRule, Probe)
# from all namespaces are reconciled automatically
# To control the scope of discovery, see: https://docs.victoriametrics.com/operator/resources/vmagent/#scraping and override the following accordingly.
# spec:
# selectAllByDefault: true
# serviceScrapeNamespaceSelector: {}
# podScrapeNamespaceSelector: {}
# podScrapeSelector: {}
# serviceScrapeSelector: {}
# nodeScrapeSelector: {}
# nodeScrapeNamespaceSelector: {}
# staticScrapeSelector: {}
# staticScrapeNamespaceSelector: {}ArgoCD Deployment Considerations
Step 2 - Deploy Monitoring CRDs
Last updated
