Open hkmdxlftjf opened 3 months ago
Hello! Yes, vm-operator automatically convert existing Prometheus ServiceMonitor, PodMonitor, PrometheusRule, Probe and ScrapeConfig objects into corresponding VictoriaMetrics Operator objects by default. Check this doc for details. Code can be found in https://github.com/VictoriaMetrics/operator/blob/master/controllers/converter/apis.go.
Hello, I would like to write code to convert existing configurations to VMPodScrape/VMNodeScrape. Is there any way to achieve this? Are there any codes that I can refer to? Thanks!