feat: accept, store and expose client diagnostics
- V11 client_logs table with per-user storage and retention/pruning - POST/GET/DELETE /logs with batch validation, rate limit and admin access - redact bearer tokens, Authorization headers and query/JSON secrets twice - add X-Request-Id to responses and include it in the server log pattern - report client error entries immediately in the server log - scripts/logs.sh for source-side retrieval and clearing - chart knobs CLIENT_LOG_RETENTION_DAYS and CLIENT_LOG_MAX_ROWS_PER_USER
This commit is contained in:
1 parent
91312faa1c
commit
44b75c4d4d
19 files changed
+981
-5
No files matched your search
@@ -36,6 +36,7 @@ dependencies {
|
||||
implementation("io.ktor:ktor-server-call-logging-jvm:3.1.2")
|
||||
implementation("io.ktor:ktor-server-auto-head-response-jvm:3.1.2")
|
||||
implementation("io.ktor:ktor-server-cors-jvm:3.1.2")
|
||||
implementation("io.ktor:ktor-server-call-id-jvm:3.1.2")
|
||||
|
||||
// Database
|
||||
implementation("org.jetbrains.exposed:exposed-core:0.60.0")
|
||||
|
||||
Reference in new issue
Block a user