syntaxis/config/api/features/health.toml.template

25 lines
834 B
Plaintext
Raw Permalink Normal View History

# Health Check Feature Configuration
#
# This configuration controls the health check endpoint which provides
# status information about the server, database, and dependencies.
# This file is loaded ONLY if [server.features.health].enabled = true in the main config.
# (The enabled flag is set in the main lifecycle-api-config.toml file)
[health]
# Health check endpoint at GET /api/health
# Returns JSON with status, version, uptime, database connectivity
# Database connectivity check timeout (milliseconds)
# The health check will ping the database and report connectivity status
database_timeout_ms = 5000
# Include version information in health response
include_version = true
# Include uptime information in health response
include_uptime = true
# Include database status in health response
include_database_status = true