cluster/services/monitoring: fix grafana frontend check

This commit is contained in:
Max Headroom 2023-06-05 20:26:22 +02:00
parent 4610811a48
commit bc35407987

View file

@ -132,13 +132,13 @@ in
address = depot.reflection.interfaces.primary.addrPublic; address = depot.reflection.interfaces.primary.addrPublic;
port = 443; port = 443;
checks = [ checks = [
{ rec {
name = "Frontend"; name = "Frontend";
id = "service:grafana:frontend"; id = "service:grafana:frontend";
interval = "30s"; interval = "30s";
http = "https://${address}"; http = "https://${address}/healthz";
tls_server_name = "monitoring.${domain}"; tls_server_name = "monitoring.${domain}";
method = "HEAD"; header.Host = lib.singleton tls_server_name;
} }
{ {
name = "Backend"; name = "Backend";