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 created a prometheus scrape configuration yaml file 'scrape.yaml' in the addons_config/victoria_metrics.
The documentation says you just have to enter the filename into the configuration field 'Prometheus scrape configuration file' of the addon. So I filled it with 'scrape.yaml'.
Restarting the Addon then shows the following error in the log:
fatal VictoriaMetrics/lib/promscrape/scraper.go:118 cannot read "/config/scrape.yaml": cannot read Prometheus config from "/config/scrape.yaml": cannot read "/config/scrape.yaml": open /config/scrape.yaml: no such file or directory
VictoriaMetrics tries to read the file from /config folder instead of the expected /addons_config/victoria_metrics folder. I then moved the scrape.yaml to the /config folder and restartet but this also didn't work.
The text was updated successfully, but these errors were encountered:
The extra scrape.yaml goes in the /addons_config/8f49de54_victoria_metrics folder. It won't work if you put it in the /addons_config/victoria_metrics folder.
I created a prometheus scrape configuration yaml file 'scrape.yaml' in the
addons_config/victoria_metrics
.The documentation says you just have to enter the filename into the configuration field 'Prometheus scrape configuration file' of the addon. So I filled it with 'scrape.yaml'.
Restarting the Addon then shows the following error in the log:
fatal VictoriaMetrics/lib/promscrape/scraper.go:118 cannot read "/config/scrape.yaml": cannot read Prometheus config from "/config/scrape.yaml": cannot read "/config/scrape.yaml": open /config/scrape.yaml: no such file or directory
VictoriaMetrics tries to read the file from
/config
folder instead of the expected/addons_config/victoria_metrics
folder. I then moved the scrape.yaml to the/config
folder and restartet but this also didn't work.The text was updated successfully, but these errors were encountered: