You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using victoria-metrics-k8s-stack version 0.23.2, which is bundled with operator version v0.45.0.
In case of specifying seriesLimit for kubelet in values.yaml of victoria-metrics-k8s-stack like this:
kubelet:
enabled: true# -- Enable scraping /metrics/cadvisor from kubelet's servicecadvisor: true# -- Enable scraping /metrics/probes from kubelet's serviceprobes: true# spec for VMNodeScrape crd# https://docs.victoriametrics.com/operator/api.html#vmnodescrapespecspec:
scheme: "https"honorLabels: trueinterval: "30s"scrapeTimeout: "5s"tlsConfig:
insecureSkipVerify: truecaFile: "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"bearerTokenFile: "/var/run/secrets/kubernetes.io/serviceaccount/token"# drop high cardinality label and useless metrics for cadvisor and kubeletmetricRelabelConfigs:
- action: labeldropregex: (uid)
- action: labeldropregex: (id|name)
- action: dropsource_labels: [__name__]regex: (rest_client_request_duration_seconds_bucket|rest_client_request_duration_seconds_sum|rest_client_request_duration_seconds_count)relabelConfigs:
- action: labelmapregex: __meta_kubernetes_node_label_(.+)
- sourceLabels: [__metrics_path__]targetLabel: metrics_path
- targetLabel: "job"replacement: "kubelet"# ignore timestamps of cadvisor's metrics by default# more info here https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4697#issuecomment-1656540535honorTimestamps: falseseriesLimit: 180000
vmagent starts to crash with following error:
2024-06-21T12:39:10.634Z fatal VictoriaMetrics/lib/promscrape/scraper.go:116 cannot read "/etc/vmagent/config_out/vmagent.env.yaml": cannot parse Prometheus config from "/etc/vmagent/config_out/vmagent.env.yaml": cannot unmarshal data: yaml: unmarshal errors:
line 49861: field series_limit already set in type promscrape.ScrapeConfig
line 49897: field series_limit already set in type promscrape.ScrapeConfig
line 49934: field series_limit already set in type promscrape.ScrapeConfig; pass -promscrape.config.strictParse=false command-line flag for ignoring unknown fields in yaml config
/etc/vmagent/config_out/vmagent.env.yaml containes following sections with series_limit defined multiple times:
Hello.
I'm using victoria-metrics-k8s-stack version 0.23.2, which is bundled with operator version v0.45.0.
In case of specifying
seriesLimit
for kubelet in values.yaml of victoria-metrics-k8s-stack like this:vmagent starts to crash with following error:
/etc/vmagent/config_out/vmagent.env.yaml containes following sections with series_limit defined multiple times:
This looks like a bug.
The text was updated successfully, but these errors were encountered: