cockroachdb / cockroachdb/cockroach

insights: create datadriven tests for insights tables

Open
#95,010 0 comments 0 reactions 0 assignees View on GitHub
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

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.