Operations: Endpoint Healthchecks¶
Endpoint healthchecks probe storage endpoints and persist status, latency, and incident history for Admin, Manager, Portal, and Ceph Admin status views.
Availability model¶
- The effective feature switch is
endpoint_status_enabledin app settings. FEATURE_ENDPOINT_STATUS_ENABLEDcan force that switch on or off from the backend environment.- Each storage endpoint can select a healthcheck mode and optional probe URL from Admin Storage Backends.
Manual trigger¶
curl -X POST "http://localhost:8000/api/internal/healthchecks/run" \
-H "X-Internal-Token: <INTERNAL_CRON_TOKEN>"
The endpoint returns skipped when another backend replica already holds the
healthcheck operation lease.
Scheduler integration¶
- Compose scheduler calls the internal endpoint periodically.
- Helm supports
healthcheckCronJobvalues.
The scheduler or CronJob must use the same INTERNAL_CRON_TOKEN as the backend.
Keep the internal route on a trusted network.
Administrator notifications¶
Active ui_admin and ui_superadmin users receive an in-app notification for
the first abnormal result and for every later status transition to degraded
or down. An unchanged state does not generate another notification. A
transition from either abnormal state back to up generates an informational
recovery notification.
degraded maps to warning severity and down maps to error severity. The
notification payload contains the endpoint identifier and name, check mode,
latency, status and a sanitized error summary when one is available. Health
telemetry does not create application audit events.
Per-endpoint mode¶
Admin Storage Backends exposes:
- HTTP probe: checks the endpoint or a configured healthcheck URL.
- S3 signed probe: signs a lightweight S3 request with supervision or admin credentials. This mode is available for Ceph endpoints when suitable credentials are configured.
- Optional healthcheck URL override. Empty value uses the endpoint URL.
Relevant backend settings¶
HEALTHCHECK_TIMEOUT_SECONDSHEALTHCHECK_INTERVAL_SECONDSHEALTHCHECK_RETENTION_DAYSHEALTHCHECK_DEGRADED_LATENCY_MSHEALTHCHECK_VERIFY_SSLHEALTHCHECK_LATENCY_BASELINE_WINDOW_DAYSHEALTHCHECK_BASELINE_SAMPLE_SIZEHEALTHCHECK_RELATIVE_DEGRADED_RATIOHEALTHCHECK_RELATIVE_DEGRADED_MIN_DELTA_MSHEALTHCHECK_INCIDENT_RECENT_MINUTES
UI dependency¶
Endpoint Status pages and dashboard health widgets require
endpoint_status_enabled in app settings. When the feature is disabled,
scheduled runs fail fast instead of writing new healthcheck rows.