auto refresh

This commit is contained in:
Henry Hiles 2025-10-30 22:25:25 -04:00
commit 91656004bc
No known key found for this signature in database

View file

@ -1,6 +1,7 @@
{ pkgs, lib, ... }:
pkgs.writers.writeJSON "status.json" {
title = "Service Status";
refresh = "10s";
panels =
let
status = null;
@ -43,6 +44,7 @@ pkgs.writers.writeJSON "status.json" {
type = "prometheus";
uid = "prometheus";
};
options.graphMode = "none";
fieldConfig = {
defaults = {
color.mode = "thresholds";
@ -68,7 +70,6 @@ pkgs.writers.writeJSON "status.json" {
}
];
};
unit = "none";
};
};
targets = [