AutoMate Technisch Help

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

/health/basic

Methode

GET

Authenticatie

Niet vereist

Response-formaat

application/json

Omgevingen

Statuscodes

HTTP-statuscode

Betekenis

200 OK

Alle checks zijn healthy

503 Service Unavailable

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

{ "status": "Healthy", "totalDuration": "00:00:00.0123456", "checks": [ { "name": "background-jobs", "status": "Healthy", "description": "Achtergrondverwerking is operationeel. Alle geplande taken draaien: IAM-synchronisatie, workflow-automatisering, tenant-sync, Autopilot-synchronisatie en mailbox-sync zijn actief.", "data": { "FailedJobs": 0, "AvailableServers": 1, "MinRequiredServers": 1 } } ] }

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

background-jobs

Hangfire server aanwezig? Gefaalde jobs < 5?

Achtergrondverwerking

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

/health/branding

Branding

SQL-probe op [dbo].[Signatures] (database SignatureDb)

/health/identity

Identity

SQL-probe op [dbo].[IAM_Employee_Sync_Settings] (database UserTypeDb)

/health/persona

Persona

SQL-probe op [dbo].[Personas_Definitions] (database UserTypeDb)

/health/rbac

Role Based Access

SQL-probe op [dbo].[AccessControl_Policies] (database UserTypeDb)

/health/msgraph

Microsoft Graph

Graph organization call

Statuscodes

HTTP-statuscode

Betekenis

200 OK

Healthy of Degraded (probe geslaagd, al dan niet traag)

503 Service Unavailable

Unhealthy (exception of timeout na 5 s)

404 Not Found

Onbekend module-segment

Voorbeeld-response

{ "status": "Healthy", "module": "Branding", "description": "Branding database OK", "durationMs": 12.3, "data": { "database": "SignatureDb", "table": "[dbo].[Signatures]" } }

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.

Last modified: 09 July 2026