fix: vmagent scrape size exceeded

This commit is contained in:
Noah Masur 2024-08-18 19:36:29 -04:00
parent 1e7c69b3ea
commit 81cb603bb7
No known key found for this signature in database

View File

@ -91,6 +91,8 @@ in
services.vmagent = {
package = pkgs-stable.vmagent;
prometheusConfig = prometheusConfig;
# https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5567
extraArgs = [ "-promscrape.maxScrapeSize 450000000" ];
remoteWrite = {
url = "https://${config.hostnames.prometheus}/api/v1/write";
basicAuthUsername = username;