Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Add a healthcheck endpoint to the API #128

Open
ian-noaa opened this issue Nov 11, 2022 · 0 comments
Open

Add a healthcheck endpoint to the API #128

ian-noaa opened this issue Nov 11, 2022 · 0 comments
Assignees
Labels
maintenance shaping Status for project issues that are still being discussed

Comments

@ian-noaa
Copy link
Collaborator

Problem

During work on #104, the application failed to launch because the required environment variables (in particular FLASK_DIAG_DIR) weren't set. This wasn't detected as the application won't warn or fail until it attempts to use the environment variables to access the resources. This resulted in a day of debugging the production cluster

Solution

We should have a /health endpoint that checks for required config and tests to make sure external resources (s3, databases, etc...) are available.

No Gos

Describe any features or behaviors that have been considered and rejected as out of scope for this project.

Rabbit Holes

Describe any solutions to problems that pose a risk to completing this project on time.

@ian-noaa ian-noaa added project shaping Status for project issues that are still being discussed labels Nov 11, 2022
@ian-noaa ian-noaa self-assigned this Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
maintenance shaping Status for project issues that are still being discussed
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants