auto refresh
This commit is contained in:
parent
db0d8e7552
commit
91656004bc
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
pkgs.writers.writeJSON "status.json" {
|
pkgs.writers.writeJSON "status.json" {
|
||||||
title = "Service Status";
|
title = "Service Status";
|
||||||
|
refresh = "10s";
|
||||||
panels =
|
panels =
|
||||||
let
|
let
|
||||||
status = null;
|
status = null;
|
||||||
|
|
@ -43,6 +44,7 @@ pkgs.writers.writeJSON "status.json" {
|
||||||
type = "prometheus";
|
type = "prometheus";
|
||||||
uid = "prometheus";
|
uid = "prometheus";
|
||||||
};
|
};
|
||||||
|
options.graphMode = "none";
|
||||||
fieldConfig = {
|
fieldConfig = {
|
||||||
defaults = {
|
defaults = {
|
||||||
color.mode = "thresholds";
|
color.mode = "thresholds";
|
||||||
|
|
@ -68,7 +70,6 @@ pkgs.writers.writeJSON "status.json" {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
unit = "none";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
targets = [
|
targets = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue