cockroachdb / cockroachdb/cockroach

insights: add more txn insights

Open
#107,318 0 comments 0 reactions 0 assignees View on GitHub
C-enhancement E-quick-win T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Similar to #93076, there are yet more pieces of information about SQL transactions that would be nice to have in txn insights:
- isolation level (from `connExecutor.state.isolationLevel`)
- Quality of Service level (for admission control) (might have to be plumbed through from `txn.AdmissionHeader().Priority`?)
- as of time, if using `AS OF SYSTEM TIME` (from `connExecutor.state.getReadTimestamp()` or at least `connExecutor.state.isHistorical`)
- whether the transaction is read-only (from `connExecutor.state.readOnly`)

Jira issue: CRDB-29986

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.