Hui Wang

Results 97 comments of Hui Wang

@metalmatze ,We also need this feature too. In my scenario, prometheus need to scrap metrics(such as node-exporter which expose directly in hostnetwork) normally even when k8s cni(such as calico) down....

> @Haleygo hey do you have time to work on this for 1.25? So sorry, I have worked on it a few months ago but not finished. This week I...

@hagen1778 I'd like to bring some thoughts about vmalert cluster sharding: 1. Right now, vmalert support [HA mode](https://docs.victoriametrics.com/vmalert.html#ha-vmalert), and [deduplication](https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#deduplication) is needed on remoteWrite side. But the value for `-dedup.minScrapeInterval`...

Hello, the [VMServiceScrape](https://github.com/VictoriaMetrics/helm-charts/blob/72ae97b4cfb27797928952d2bb0a3f3ecc146cee/charts/victoria-metrics-operator/templates/service_scrape.yaml#L1) inside victoria-metrics-operator is controlled by `.Values.victoria-metrics-operator.serviceMonitor.enabled` and it's false by default, so you won't get two VMServiceScrape if not set `.Values.victoria-metrics-operator.serviceMonitor.enabled=true` specificly.

Close as not planned, feel free to reopen if you have further question.

@k1rk Could you help with this one?

Hello! You can enable [validation admission webhook](https://github.com/VictoriaMetrics/operator/blob/c720cb4452f386b11de95c24d02a47800246f56d/docs/configuration.md?plain=1#L231) for VMRules, in this way, user will be refused immediately when trying apply invalid resource. And we will improve this validation in https://github.com/VictoriaMetrics/operator/issues/820....

Yeah, I think we can implement it as a generic scrape configuration for all service discoveries.

> Must support sharding for ScrapeConfig Can you elaborate here? You mean to shard targets from one scrape job to several vmagents?