From 9577209e6781cbec1eb9ad4d4037f3a939d5c8b0 Mon Sep 17 00:00:00 2001 From: Romain Paquet Date: Mon, 3 Nov 2025 23:51:20 +0100 Subject: [PATCH] glance: add prometheus --- machines/genepi/glance-config.nix | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/machines/genepi/glance-config.nix b/machines/genepi/glance-config.nix index 53b991d..1a47296 100644 --- a/machines/genepi/glance-config.nix +++ b/machines/genepi/glance-config.nix @@ -44,11 +44,6 @@ url = "https://images.home.rpqt.fr"; icon = "sh:immich"; } - { - title = "Grafana"; - url = "https://grafana.home.rpqt.fr"; - icon = "sh:grafana"; - } { title = "FreshRSS"; url = "https://rss.home.rpqt.fr"; @@ -96,6 +91,23 @@ } ]; } + { + type = "monitor"; + cache = "1m"; + title = "Monitoring"; + sites = [ + { + title = "Grafana"; + url = "https://grafana.home.rpqt.fr"; + icon = "sh:grafana"; + } + { + title = "Prometheus"; + url = "http://genepi.home.rpqt.fr:9090"; + icon = "sh:prometheus"; + } + ]; + } { type = "monitor"; cache = "1m";