mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 13:25:38 +00:00
fix: vmagent scrape size exceeded
This commit is contained in:
parent
1e7c69b3ea
commit
81cb603bb7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user