You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a route that connects to the database, connects to ldap, and returns a json blob stating whether or not it can connect.
This should allow us to more reasonably monitor on whether or not packet is up
How I want this to work
GET /api/v1/healthcheck
That would return 200 only when both ldap and the database connect correctly, and a 5XX range response when they don't. Different 5XX code for ldap down, sql down and both down
{
"ldap": true,
"database": true
}
Return the json no matter what the status code is.
Even better would be
Activity
devinmatte commentedon Sep 18, 2020
Maybe even also list out which ldap server the pod is connected to to help us identify issues.
This route should be accessible without auth so that datadog can connect to it