mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 15:00:14 +00:00
fix: vmagent scrape size exceeded
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user