mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 19:15:37 +00:00
fix: vmagent scrape size exceeded
This commit is contained in:
parent
1e7c69b3ea
commit
81cb603bb7
@ -91,6 +91,8 @@ in
|
|||||||
services.vmagent = {
|
services.vmagent = {
|
||||||
package = pkgs-stable.vmagent;
|
package = pkgs-stable.vmagent;
|
||||||
prometheusConfig = prometheusConfig;
|
prometheusConfig = prometheusConfig;
|
||||||
|
# https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5567
|
||||||
|
extraArgs = [ "-promscrape.maxScrapeSize 450000000" ];
|
||||||
remoteWrite = {
|
remoteWrite = {
|
||||||
url = "https://${config.hostnames.prometheus}/api/v1/write";
|
url = "https://${config.hostnames.prometheus}/api/v1/write";
|
||||||
basicAuthUsername = username;
|
basicAuthUsername = username;
|
||||||
|
Loading…
Reference in New Issue
Block a user