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
Looks like operator converting boolean true to string.
VMAgent fails to read this config:
2023-07-21T23:08:20.718Z info VictoriaMetrics/lib/promscrape/scraper.go:114 reading Prometheus configs from "/etc/vmagent/config_out/vmagent.env.yaml"
2023-07-21T23:08:20.723Z fatal VictoriaMetrics/lib/promscrape/scraper.go:117 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 368: cannot unmarshal !!str `true` into bool; pass -promscrape.config.strictParse=false command-line flag for ignoring unknown fields in yaml config
The text was updated successfully, but these errors were encountered:
0megam
changed the title
vmagent config is not generated properly then attach_metadata is set.
VMAgent config is not generated properly then attach_metadata is set.
Jul 21, 2023
HI.
I'm using this VMServiceScrape resource to scrape data from node-exporter service:
VM operator generates following job configuration for VMagent:
Looks like operator converting boolean true to string.
VMAgent fails to read this config:
The text was updated successfully, but these errors were encountered: