debug/logspy: filter logs based on tenant ID for non-system tenants. #94779
Labels
A-observability-inf
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
/debug/logspy
is an endpoint that allows users to stream newly generated logs for a given duration. It is made available in the DB Console.With multiple tenants per-process, we need to ensure that this endpoint does not expose logs generated by other tenants when this endpoint is being served for a non-system tenant. Instead, the endpoint should filter logs based on tenant ID.
Update the endpoint to do so.
Jira issue: CRDB-23138
Epic CRDB-14486
The text was updated successfully, but these errors were encountered: