feat(api): expose /health endpoint and health dashboard

Wire the infrastructure health checks into ASP.NET Core:

- /health returns JSON via UIResponseWriter and maps Unhealthy to HTTP 503
- /health-ui renders a Razor Pages dashboard with per-check status, description, tags and duration
- Tag health checks (rabbitmq, workers, ready, live) for monitoring filters
- Link the dashboard from the Swagger description and the page layout
This commit is contained in:
2026-11-02 10:11:14 +01:00
parent 2fdc8982aa
commit 292b6e9f36
6 changed files with 164 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
@using DigitalData.MessagingService.API.Pages
@namespace DigitalData.MessagingService.API.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers