Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend /health endpoints to make them async and detailed #54

Closed
karntrehan opened this issue Apr 6, 2023 · 6 comments
Closed

Extend /health endpoints to make them async and detailed #54

karntrehan opened this issue Apr 6, 2023 · 6 comments
Assignees

Comments

@karntrehan
Copy link
Contributor

karntrehan commented Apr 6, 2023

Current /health endpoints of services are not very intuitive. They are also synchronous leading to blockages of 4 seconds on each call to /health.

We should make them async and also check internal working like kafka giving 500s.

@karntrehan karntrehan changed the title Extend /health endpoints for monitoring kafka for 500 error when an event happens Extend /health endpoints to make them async and detailed Apr 6, 2023
@karntrehan
Copy link
Contributor Author

karntrehan commented Apr 10, 2023

@chinmoy12c to document the schema here. Some tests need to be fixed.

@karntrehan
Copy link
Contributor Author

karntrehan commented Apr 11, 2023

Pr raised. @pankajjangid05 & @surabhi-mahawar to review.

@chinmoy12c
Copy link
Member

The response JSON schema needs to be changed. @tushar5526 please add the required schema.

@tushar5526
Copy link
Collaborator

The /health schema should follow this template response, so that we can get the status of dependent services as well.

Response Format - https://yaus.xyz/health

@pankajjangid05
Copy link
Contributor

@chinmoy12c These PRs are merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants