From e9fe620fa9ca3746c9de9aef51987fedac8e29d1 Mon Sep 17 00:00:00 2001 From: goeranh Date: Mon, 20 Apr 2026 12:01:36 +0200 Subject: [PATCH] increase mimir and loki rate limits --- hosts/monitoring/default.nix | 11 +++++++++++ modules/monitoring.nix | 1 + 2 files changed, 12 insertions(+) diff --git a/hosts/monitoring/default.nix b/hosts/monitoring/default.nix index a56cdb4..12f214c 100644 --- a/hosts/monitoring/default.nix +++ b/hosts/monitoring/default.nix @@ -53,6 +53,12 @@ kvstore.store = "inmemory"; }; }; + limits_config = { + ingestion_rate_mb = 32; + ingestion_burst_size_mb = 64; + per_stream_rate_limit = "32MB"; + per_stream_rate_limit_burst = "64MB"; + }; schema_config = { configs = [ { @@ -109,6 +115,11 @@ http_listen_port = 9009; grpc_listen_port = 9095; }; + limits = { + ingestion_rate = 100000; + ingestion_burst_size = 200000; + max_global_series_per_user = 0; + }; store_gateway = { sharding_ring = { replication_factor = 1; diff --git a/modules/monitoring.nix b/modules/monitoring.nix index 09a1bf7..33834ae 100644 --- a/modules/monitoring.nix +++ b/modules/monitoring.nix @@ -20,6 +20,7 @@ in { config = { networking.hosts = { + # rewrite these host entries on each system, this does not go through proxy "141.56.51.20" = [ "mon.adm.htw.stura-dresden.de" "log.adm.htw.stura-dresden.de"