IAC/modules/vigil/vigil.service.toml.tpl

17 lines
318 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
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 }