From 032a6be4f2c940cbe3de0b86df34519c153a69e2 Mon Sep 17 00:00:00 2001
From: Christoph Alt <christoph.alt@fau.de>
Date: Thu, 3 Nov 2022 16:39:34 +0100
Subject: [PATCH] changed default time range for dashboards

---
 dashboards/dashboard_base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dashboards/dashboard_base.py b/dashboards/dashboard_base.py
index 7d90063..cf43e41 100644
--- a/dashboards/dashboard_base.py
+++ b/dashboards/dashboard_base.py
@@ -96,7 +96,7 @@ def build_row_repeat_dashboard(
             ),
         ],
         templating=Templating([panel_repeat_var, row_repeat_var, *other_vars]),
-        time=Time('now-7d', 'now'),
+        time=Time('now-30d', 'now'),
         annotations=annotations,
     )
     return dashboard.auto_panel_ids()
-- 
GitLab