routewatch/internal/server
sneak a163449a28 Improve request logging and make health check lightweight
- Log slow requests (>1s) at WARNING level with slow=true flag
- Log request timeouts at WARNING level in TimeoutMiddleware
- Replace heavy GetStatsContext with lightweight Ping in health check
- Add Ping method to database interface (SELECT 1)
2026-01-01 06:06:20 -08:00
..
handlers.go Improve request logging and make health check lightweight 2026-01-01 06:06:20 -08:00
middleware.go Improve request logging and make health check lightweight 2026-01-01 06:06:20 -08:00
routes.go Improve request logging and make health check lightweight 2026-01-01 06:06:20 -08:00
server.go Add structured HTTP request logging and increase timeouts 2025-12-30 13:37:54 +07:00