This repository has been archived on 2024-11-12. You can view files and clone it, but cannot push or open issues or pull requests.
iac/modules/vigil/vigil.service.toml.tpl
Matthew Baggett aed00f6017
Some checks failed
Trunk Cache / Trunk Cache (push) Failing after 2s
Trunk Check / Trunk Check Runner (push) Failing after 1s
Trunk Upgrade / Upgrade Trunk (push) Failing after 1s
Fixed vigil
2024-06-28 18:15:00 +02:00

20 lines
No EOL
406 B
Smarty

[[probe.service]]
id = "${service_group_id}"
label = "${service_group_label}"
%{ for service in services ~}
[[probe.service.node]]
id = "${service.id}"
label = "${service.label}"
mode = "poll"
reveal_replica_name = true
%{ if service.http_method != null ~}
http_method = "${service.http_method}"
%{ endif ~}
replicas = [
%{ for endpoint in service.endpoints ~}
"${endpoint}",
%{ endfor ~}
]
%{ endfor }