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

feature: Health check API endpoint #5433

Open
FragmentedPacket opened this issue Jan 10, 2025 · 0 comments
Open

feature: Health check API endpoint #5433

FragmentedPacket opened this issue Jan 10, 2025 · 0 comments
Labels
group/backend Issue related to the backend (API Server, Git Agent) state/needs-triage type/feature New feature or request

Comments

@FragmentedPacket
Copy link
Contributor

Component

API Server / GraphQL

Describe the Feature Request

For HA related deployments with multiple API servers that are behind a load balancer, it would be great to have a health check API endpoint that will return a bad HTTP code required services are down such as database, message bus, etc. that ultimately inhibit API functionality.

Describe the Use Case

Prevent Infrahub API servers from being served behind a load balancer if they're deemed not healthy due to not having healthy connections to supporting services.

This can be used in k8s ready/liveness checks, load balancer health checks, etc.

Additional Information

No response

@FragmentedPacket FragmentedPacket added type/feature New feature or request group/backend Issue related to the backend (API Server, Git Agent) labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent) state/needs-triage type/feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant