[add]: Events Service health check

This commit was merged in pull request #59.
This commit is contained in:
VivianDee
2025-10-06 18:22:49 +01:00
parent 06b266c3a7
commit 244f648974
3 changed files with 55 additions and 12 deletions
+5 -2
View File
@@ -123,7 +123,9 @@
"application/json": {
"example": {
"status": "ok",
"db_status": "Connection Successful"
"db_status": "Connection Successful",
"events_service_status": "healthy",
"error": []
}
}
}
@@ -135,7 +137,8 @@
"example": {
"status": "ok",
"db_status": "Connection Failed",
"error": "could not connect to server: Connection refused"
"events_service_status": "unhealthy",
"error":["could not connect to server: Connection refused"]
}
}
}