Add comprehensive diagnostics controller for session debug dashboard

FeatureSecurityService
Name
lúc 23:40 17 tháng 10, 2025 UTC
Tác giả
snadjafinia
Cam kết
9873145

New endpoints: - GET /api/diagnostics/info - Complete system diagnostics - GET /api/diagnostics/health - Quick health check - GET /api/diagnostics/sessions - Redis session information - GET /api/diagnostics/environment - Filtered environment variables Information provided: - Service info (name, version, uptime) - Kubernetes pod info (pod name, namespace, node, IPs) - Host info (hostname, network addresses, OS details) - JVM info (version, memory usage, heap/non-heap stats) - MySQL info (version, uptime, connections, table counts, DB size) - Redis info (version, memory, clients, stats, keyspace) - Request info (headers, forwarded headers, client IP) - System statistics (org count, user count, active sessions, recent logins) Features: - Sensitive values (passwords, secrets, tokens) are redacted - Health check returns 503 if MySQL or Redis is down - Session sampling (max 50) for performance - Human-readable duration formatting - Comprehensive error handling For use in kamo-internal Session Debug Dashboard.

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Mỗi một bản cập nhật này đều được tự động cập nhật trong không gian làm việc của bạn. Bắt đầu tự do và xem nó lớn lên tuần này qua tuần khác.

Bắt đầu tự do mãi mãiXem truy cập