cluster/services/monitoring: fix grafana frontend check
This commit is contained in:
parent
4610811a48
commit
bc35407987
1 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue