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

Adds a simple healthcheck endpoint for the concepts service #749

Conversation

kenoir
Copy link
Contributor

@kenoir kenoir commented Jan 25, 2024

What does this change?

This change follows #747, and adds an HTTP healthcheck to the requests API to ensure the Scala service has started before it is registered healthy at the NLB and starts serving requests.

How to test?

  • Deploy this change to stage to ensure the terraform applies the change as expected and tasks register as healthy
  • Perform a stage deployment while sending requests to understand if we have eliminated any deployment errors.

How can we measure success?

No downtime during deployments resulting in a better experience for visitors to the site, and fewer errors that we cannot effectively respond to in the alerts channel.

@kenoir kenoir requested a review from a team January 25, 2024 15:23
@@ -15,22 +15,10 @@ resource "aws_lb_target_group" "tcp" {
# updated service. Reducing this parameter to 90s makes deployments faster.
deregistration_delay = 90

dynamic "health_check" {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addresses #736 (comment)

@kenoir kenoir marked this pull request as ready for review January 25, 2024 16:23
This change adds a healthcheck endpoint to provide to a loadbalancer for the purposes of checking application health at deployment and under normal service.
@kenoir kenoir force-pushed the rk/add-healthcheck-endpoint-concepts branch from e72e611 to dc6161e Compare January 25, 2024 16:23
@kenoir kenoir force-pushed the rk/add-healthcheck-endpoint-requests branch from 4d3db3b to c137f3f Compare January 26, 2024 09:57
@kenoir kenoir merged commit c939911 into rk/add-healthcheck-endpoint-requests Jan 26, 2024
1 check passed
@kenoir kenoir deleted the rk/add-healthcheck-endpoint-concepts branch January 26, 2024 10:49
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

Successfully merging this pull request may close these issues.

3 participants