From 09be64ecc8ca784400d99decd75eaa1fae6c335e Mon Sep 17 00:00:00 2001 From: Peter Lehmann Date: Sat, 25 May 2024 17:03:24 +0200 Subject: [PATCH] nixos/prometheus: Add query_log_file option --- nixos/modules/services/monitoring/prometheus/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix index 7e707a13b790..4de80acfa9a8 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. + ''; }; };