Service to check health of the services through their endpoints /info and /health
{
"places": {
"group1": [
{
"url": "http://service1:8080"
},
{
"url": "http://service2:8081",
"info": {
"app": {
"name": "default_name"
}
}
}
],
"group2": [
{
"url": "http://service3:8080"
}
]
}
}
go build heartbeats.go
./heartbeats -port=8080