-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Enrich the existing query log format for cloud telemetry #71328
Copy link
Copy link
Open
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-observability
Description
This builds on top of this issue to capture additional workload insights and details in our telemetry pipeline. The previous format for query events is outlined in the following spreadsheet.
Additional information to capture:
- HasIndexJoin (we have HasFullTableScan today) (not available)
-
index_join_countfield
- Contention (wait time) (not available)
- Statement Fingerprint ID (measuring uniqueness of a workload) (not available)
- Database ID (not available)
-
- complications with adding Database ID, documented in: sql: Add database ID to sampled query log #84195
- Database name
- Session ID
- Transaction ID (measure how large/conversational transactions are)
- Statement ID (Avoid having to filter based on the query text)
- Plan from the plan gist (determine the complexity and how optimal the workload is)
- Whether the query touched all cluster nodes (related issue) (not available)
- Index recommendation (not available)
Jira issue: CRDB-10514
Epic CRDB-13538
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-observability