From 62e4ac636873c1568b6f69bf7c10f75d2c0a1e4c Mon Sep 17 00:00:00 2001 From: Jonas Gaffke Date: Sun, 24 Nov 2024 09:37:38 +0100 Subject: [PATCH] monitoring: add minecraft server --- modules/monitoring/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/monitoring/default.nix b/modules/monitoring/default.nix index 5f27ee6..4601db9 100644 --- a/modules/monitoring/default.nix +++ b/modules/monitoring/default.nix @@ -77,6 +77,13 @@ in }]; scrape_interval = "15s"; } + { + job_name = "fabric"; + static_configs = [{ + targets = [ "127.0.0.1:25585" ]; + }]; + scrape_interval = "60s"; + } ]; };