Health Check Overzicht
Doel
Het /health/basic endpoint is het centrale monitoring-aanspreekpunt voor de support-afdeling. Met één URL is de algemene gezondheid van de AutoMate-applicatie te controleren.
Het endpoint aggregeert alle health checks die relevant zijn voor operationele monitoring. Elke check rapporteert zijn eigen status; het endpoint retourneert 503 Service Unavailable zodra minimaal één check unhealthy is.
Endpoint details
Eigenschap | Waarde |
|---|---|
URL |
|
Methode |
|
Authenticatie | Niet vereist |
Response-formaat |
|
Omgevingen
Omgeving | URL |
|---|---|
Development | https://d-automate-portal-webapi-webapp-weu.azurewebsites.net/health/basic |
Statuscodes
HTTP-statuscode | Betekenis |
|---|---|
| Alle checks zijn healthy |
| Minimaal één check is unhealthy |
Hoe het werkt
De checks in dit endpoint zijn getagd met "basic". Alleen checks met deze tag verschijnen in de response. Nieuwe checks worden automatisch opgenomen zodra ze met de "basic" tag worden geregistreerd.
Voorbeeld-response
De status op het hoogste niveau weerspiegelt de zwakste schakel: als één check Unhealthy is, is het eindresultaat ook Unhealthy.
Huidige checks
Check naam | Wat het controleert | Detail-pagina |
|---|---|---|
| Hangfire server aanwezig? Gefaalde jobs < 5? |
Per-module endpoints (statuspagina)
Naast /health/basic heeft AutoMate.API per-module health endpoints op GET /health/{module}. Deze zijn anoniem, vallen buiten FastEndpoints en worden specifiek gebruikt door de StatusPage.Worker om elke functionele module afzonderlijk te pollen.
Endpoint | Module | Wat het controleert |
|---|---|---|
| Branding | SQL-probe op |
| Identity | SQL-probe op |
| Persona | SQL-probe op |
| Role Based Access | SQL-probe op |
| Microsoft Graph | Graph organization call |
Statuscodes
HTTP-statuscode | Betekenis |
|---|---|
| Healthy of Degraded (probe geslaagd, al dan niet traag) |
| Unhealthy (exception of timeout na 5 s) |
| Onbekend module-segment |
Voorbeeld-response
De StatusPage.Worker leest het veld status op het hoogste niveau. Zie HealthCheck voor de implementatiedetails en instructies om een nieuwe module toe te voegen.