about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/prometheus
diff options
context:
space:
mode:
authorPeter Lehmann <xgwq@xnee.net>2024-05-25 17:03:24 +0200
committerPeter Lehmann <xgwq@xnee.net>2024-05-25 17:03:24 +0200
commit09be64ecc8ca784400d99decd75eaa1fae6c335e (patch)
tree2a286b15eeff24fbf30a59c10f72d2b201d6dead /nixos/modules/services/monitoring/prometheus
parente552f7ef41800e96de2acc2215f59378a9aa01ed (diff)
nixos/prometheus: Add query_log_file option
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus')
-rw-r--r--nixos/modules/services/monitoring/prometheus/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix
index 7e707a13b7903..4de80acfa9a8b 100644
--- a/nixos/modules/services/monitoring/prometheus/default.nix
+++ b/nixos/modules/services/monitoring/prometheus/default.nix
@@ -181,6 +181,10 @@ let
         communicating with external systems (federation, remote
         storage, Alertmanager).
       '';
+
+      query_log_file = mkOpt types.str ''
+        Path to the file prometheus should write its query log to.
+      '';
     };
   };