9 Commits

Author SHA1 Message Date
10864363e2 feat(health): enhance server with probe-specific handlers
- Add separate handlers for liveness (/healthz), readiness (/readyz),
  and startup (/startupz) probes
- Implement WithLivenessHandler, WithReadinessHandler, WithStartupHandler,
  and WithServiceName options
- Add probe-specific JSON response formats
- Add comprehensive package documentation with usage examples
- Maintain backward compatibility for /__health and / endpoints
- Add tests for all probe types and fallback scenarios

Enables proper Kubernetes health monitoring with different probe types.
2025-09-21 10:52:29 -07:00
a37559b93e health: add documentation 2025-06-06 19:16:14 -07:00
0996167865 modernize + gofumpt 2025-04-19 22:19:02 -07:00
f6d160a7f8 health: fix shutdown of health check server 2025-01-03 14:01:52 +01:00
3f3fb29bc9 ekko: helper to setup labstack echo with logging, tracing, etc 2024-09-20 21:47:10 -07:00
020966a4b3 Go 1.21; use log/slog instead of version from x/exp 2023-09-17 23:03:55 -07:00
be9b63f382 health: support custom health check functions 2023-07-22 23:48:04 -07:00
03bde25c6d health: make health listener semantics match metrics one 2023-07-08 21:18:38 -07:00
ab579128b9 health: basic health checker from the monitor 2023-07-02 23:49:05 -07:00