cockroachdb / cockroachdb/cockroach
insights: create datadriven tests for insights tables
Open
A-sql-observability
C-enhancement
T-observability
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
We have some unit tests right now that help verify the contents of our insights virtual tables `{cluster,node}_execution_insights` and `{cluster,node}_txn_execution_insights`. It would be simpler to test these tables against various types of insights if we had datadriven tests.
Some inconsistent fields will need to be stubbed, such as: stmt ids, txn ids,, timestamps
Jira issue: CRDB-23275
Contributor guide
Assessment
This issue has not been assessed yet.