cockroachdb / cockroachdb/cockroach

changefeedccl: add a histogram metric for `changefeed.queue_time_nanos`

Open
#127,749 1 comment 0 reactions 0 assignees View on GitHub
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

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.