cockroachdb / cockroachdb/cockroach
changefeedccl: add a histogram metric for `changefeed.queue_time_nanos`
Open
A-cdc
C-enhancement
O-support
P-3
T-cdc
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
While investigating https://github.com/cockroachlabs/support/issues/3024, I noticed that the `changefeed.queue_time_nanos` metric increases too quickly and also continuously overflows, making it not very useful. We should add an equivalent histogram metric like `changefeed.admit_latency` and `changefeed.commit_latency`.
See https://github.com/cockroachlabs/support/issues/3024#issuecomment-2253236335 for an example graph.
Jira issue: CRDB-40583
Epic CRDB-37337
Contributor guide
Assessment
This issue has not been assessed yet.