cockroachdb / cockroachdb/cockroach
db-console: graphs require refresh to show nodes added to cluster
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
**Describe the problem**
In v22.x, DB Console metrics graphs would load the time series data of nodes which had joined the cluster after the user had loaded the page. Starting in v23.x and onward, loading time series data for newly added nodes required user-initiated action.
**To Reproduce**
Using 23.1.0 (or later):
1. `roachprod create $CLUSTER -n 4`
2. `roachprod stage $CLUSTER 23.1.0`
3. `roachprod start $CLUSTER:1-2`
4. `roachprod adminurl $CLUSTER:1`
5. (Go to the above link, go to the metrics page, select "Hardware" to see breakdown by node)
6. `roachprod start $CLUSTER:3`
7. Without reloading the metrics page, notice how node 3 never shows up in the graphs, even as more data is added.
Note that if you run the above with 22.1.0, the page behaves as desired.
**Expected behavior**
A line for node 3 (and node 4, if tested) appears in the hardware metrics graphs.
**Environment:**
- CockroachDB version 23.x+
**Additional context**
Internal discussion about the functionality gap and reproduction steps: https://cockroachlabs.slack.com/archives/C063CP41TG9/p1740076514352659
Jira issue: CRDB-48088
Contributor guide
Assessment
This issue has not been assessed yet.