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

Overriding HTTP status code of healthcheck servlet is not possible anymore #3918

Closed
maffe opened this issue Jan 24, 2024 · 0 comments · Fixed by #3924
Closed

Overriding HTTP status code of healthcheck servlet is not possible anymore #3918

maffe opened this issue Jan 24, 2024 · 0 comments · Fixed by #3924
Assignees
Labels
Milestone

Comments

@maffe
Copy link
Contributor

maffe commented Jan 24, 2024

We upgraded from Dropwizard 2.1 to 4.0. Now our monitoring fails to get details in case of any unhealthy healthcheck because then the HTTP status 500 is used. Previously it was possible to override this, but that change was only done in com.codahale.metrics.servlets.HealthCheckServlet, not in io.dropwizard.metrics.servlets.HealthCheckServlet which our application now uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants