summary refs log tree commit diff
path: root/modules/monitoring/synapse.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/monitoring/synapse.nix')
-rw-r--r--modules/monitoring/synapse.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/monitoring/synapse.nix b/modules/monitoring/synapse.nix
index a000698..55d123e 100644
--- a/modules/monitoring/synapse.nix
+++ b/modules/monitoring/synapse.nix
@@ -42,7 +42,7 @@ in
       [
         {
           job_name = "synapse-main";
-          scrape_interval = "${toString cfg.prometheusScrapeInterval}s";
+          scrape_interval = "5s";
           static_configs = [
             {
               targets = [ "localhost:9200" ];
@@ -55,7 +55,7 @@ in
       ++ lib.flatten (
         lib.imap (index: workerName: {
           job_name = "synapse-${workerName}";
-          scrape_interval = "${toString cfg.prometheusScrapeInterval}s";
+          scrape_interval = "5s";
           static_configs = [
             {
               targets = [ "localhost:${toString (9200 + index + 1)}" ];