Skip to content

[Enhancement]: Updated Health Check #357

@mbentley

Description

@mbentley

Controller Version

v5.x

Describe the Bug

The health check should be updated to something better than loading the login screen. The login screen returns a 200 even if MongoDB is down.

The API endpoint /api/v2/anon/info is better as it actually tries to talk to the db.
#352 (comment)

The updates should include no longer using a shell script because it's not really needed - the health check can be called directly like in the examples in the Dockerfile docs. Different versions of the controller from 3.x, 4.x and 5.x might not have the same API endpoints as well so they would need to differ.

Expected Behavior

Better health check

Steps to Reproduce

n/a

How You're Launching the Container

n/a

Container Logs

n/a

MongoDB Logs

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions