تخطَّ إلى المحتوى

observability

هذا المحتوى غير متوفر بلغتك بعد.

Service health probes, watchdog timers, and service discovery with a unified health endpoint. Pro plugin.

Requires: Basic license tier or higher. nself license set nself_pro_...

Terminal window
nself license set nself_pro_xxxxx...
nself plugin install observability

Runs configurable health probes against all registered services and exposes a unified /health/ endpoint aggregating their status. A background watchdog monitors probe results and automatically restarts unhealthy services to reduce manual intervention. Service discovery registration allows dynamic addition of new services without restarting the plugin.

Env VarDefaultDescription
OBSERVABILITY_PORT3215Port the Observability plugin service listens on
OBSERVABILITY_CHECK_INTERVAL30sInterval between health probe checks
OBSERVABILITY_WATCHDOG_ENABLEDtrueEnable automatic restart of unhealthy services
PortPurpose
3215Observability plugin HTTP service

3 tables added to your Postgres database.

  • np_observability_probes: Health probe definitions and latest results
  • np_observability_events: Watchdog and state-change event log
  • np_observability_service_registry: Registered services for discovery and probing
RouteDescription
/health/Aggregated health status endpoint, proxied to Observability plugin on port 3215