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

20 lines
406 B
Smarty
Raw Normal View History

2024-06-28 13:49:44 +00:00
[[probe.service]]
id = "${service_group_id}"
label = "${service_group_label}"
2024-06-28 15:53:53 +00:00
%{ for service in services ~}
2024-06-28 13:49:44 +00:00
[[probe.service.node]]
2024-06-28 15:53:53 +00:00
id = "${service.id}"
label = "${service.label}"
2024-06-28 13:49:44 +00:00
mode = "poll"
reveal_replica_name = true
2024-06-28 16:15:00 +00:00
%{ if service.http_method != null ~}
http_method = "${service.http_method}"
%{ endif ~}
2024-06-28 13:49:44 +00:00
replicas = [
2024-06-28 15:53:53 +00:00
%{ for endpoint in service.endpoints ~}
2024-06-28 13:49:44 +00:00
"${endpoint}",
%{ endfor ~}
2024-06-28 15:53:53 +00:00
]
%{ endfor }