cockroachdb / cockroachdb/cockroach

DB-Level Changefeed: Add per-table scope to lag metrics behind a cluster setting

Open
#147,796 1 comment 0 reactions 0 assignees View on GitHub
A-cdc C-enhancement T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

DB level changefeeds should have the ability to scope metrics to each table that they watch, but that feature should be off by default to prevent cardinality explosion. Put this feature behind a cluster setting.

Epic: [CRDB-1421](https://cockroachlabs.atlassian.net/browse/CRDB-1421)

Jira issue: CRDB-51247

Contributor guide

Open the contributing guide

Research direction

Start by locating the DB-level changefeed lag metrics and the cluster-setting definitions; no files or tests are named in the issue. Confirm how per-table scope should be enabled and what default-off behavior and metric output should look like, then add coverage for the setting and scoped metrics.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.