-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql: SHOW SESSIONS exposes traceID and goroutineID #117625
Labels
A-observability-inf
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Comments
dhartunian
added
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-observability-inf
labels
Jan 10, 2024
maryliag
added a commit
to maryliag/cockroach
that referenced
this issue
Jan 22, 2024
Add the column trace_id to the result of `SHOW SESSIONS`. Also adding the column to the views: `crdb_internal.node_sessions` and `crdb_internal.cluster_sessions`. Part Of cockroachdb#117625 Release note (sql change): Add column `trace_id` to the response of the `SHOW SESSIONS` command.
maryliag
added a commit
to maryliag/cockroach
that referenced
this issue
Jan 22, 2024
Add the column trace_id to the result of `SHOW SESSIONS`. Also adding the column to the views: `crdb_internal.node_sessions` and `crdb_internal.cluster_sessions`. Part Of cockroachdb#117625 Release note (sql change): Add column `trace_id` to the response of the `SHOW SESSIONS` command.
maryliag
added a commit
to maryliag/cockroach
that referenced
this issue
Jan 23, 2024
Add the column trace_id to the result of `SHOW SESSIONS`. Also adding the column to the views: `crdb_internal.node_sessions` and `crdb_internal.cluster_sessions`. Part Of cockroachdb#117625 Release note (sql change): Add column `trace_id` to the response of the `SHOW SESSIONS` command.
craig bot
pushed a commit
that referenced
this issue
Jan 23, 2024
118002: sql: add trace_id to show sessions r=maryliag a=maryliag Add the column trace_id to the result of `SHOW SESSIONS`. Also adding the column to the views: `crdb_internal.node_sessions` and `crdb_internal.cluster_sessions`. Part Of #117625 Release note (sql change): Add column `trace_id` to the response of the `SHOW SESSIONS` command. Co-authored-by: maryliag <[email protected]>
craig bot
pushed a commit
that referenced
this issue
Feb 6, 2024
118644: sql: add goroutine_id to show sessions r=maryliag a=maryliag Add the column goroutine_id to the result of `SHOW SESSIONS`. Also adding the column to the views: `crdb_internal.node_sessions` and `crdb_internal.cluster_sessions`. Fixes #117625 Release note (sql change): Add column `goroutine_id` to the response of the `SHOW SESSIONS` command. Co-authored-by: maryliag <[email protected]>
wenyihu6
pushed a commit
to wenyihu6/cockroach
that referenced
this issue
Feb 21, 2024
Add the column goroutine_id to the result of `SHOW SESSIONS`. Also adding the column to the views: `crdb_internal.node_sessions` and `crdb_internal.cluster_sessions`. Fixes cockroachdb#117625 Release note (sql change): Add column `goroutine_id` to the response of the `SHOW SESSIONS` command.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-observability-inf
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Is your feature request related to a problem? Please describe.
Exposing the traceID and goroutineID of a session in the
SHOW SESSIONS
output can aid in investigations to help filter down profile and log output.Describe the solution you'd like
Output of
SHOW SESSIONS
should include 2 new columnstrace_id
andgoroutine_id
that map to that session's trace and goroutine.Jira issue: CRDB-35277
Epic CRDB-35278
The text was updated successfully, but these errors were encountered: