20 lines
No EOL
406 B
Smarty
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 } |