@extends('layouts.app') @section('title', 'Add Health Check - ' . $site->name) @section('content')

Add Health Check

@csrf
{{ rtrim($site->url, '/') }}/ @error('endpoint')
{{ $message }}
@enderror
Enter the path to your health check endpoint (e.g., "health", "api/health", "status").
@error('expected_json_keys')
{{ $message }}
@enderror
Comma-separated list of JSON keys that must be present in the response. Supports dot notation for nested keys (e.g., "data.status, meta.version").
ms @error('performance_threshold')
{{ $message }}
@enderror
Alert when response time exceeds this threshold in milliseconds. Leave empty to disable performance alerts.
Cancel
Health Check Guide
What is a Health Check?

A health check endpoint is a URL that returns information about your application's status, including database connectivity, cache availability, and other critical services.

Common Endpoints
  • /health
  • /api/health
  • /status
  • /healthz
  • /.well-known/health
Response Format

Your endpoint should return JSON with a 2xx status code when healthy. Example:

{
  "status": "healthy",
  "database": "ok",
  "cache": "ok"
}
@endsection