cockroachdb / cockroachdb/cockroach

o11y: protected timestamp record graph may be misleading

Open
#117,989 0 comments 0 reactions 0 assignees View on GitHub
A-cluster-observability A-observability-inf C-bug O-testcluster P-2 T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

As discovered through a DRT investigation, the Protected Timestamp Records graph in the DB Console may be misleading. We see this chart:

image

According to @stevendanna:

> The graph records the number of "protected timestamp records" but it does it via the kv subscriber and the thing it seems to actually count is number of span configs that are covered by a protected timestamp.

>So, in this case, I think it is going to end up report 3x the number of span configs we have

The last part is due to the fact that in the given case, we have 3 system-level protection policies.

More details can be found [here](https://cockroachlabs.slack.com/archives/C05FHJJ0MD0/p1705684617791209?thread_ts=1705671015.242739&cid=C05FHJJ0MD0).

Jira issue: CRDB-35446

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.