-
Notifications
You must be signed in to change notification settings - Fork 469
Add storage.wal.fsync.latency
and other metrics
#19425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add storage.wal.fsync.latency
and other metrics
#19425
Conversation
Files changed:
|
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify site configuration. |
2392785
to
5d8469e
Compare
storage.wal.fsync.latency
to metricsstorage.wal.fsync.latency
and other metrics
Fixes DOC-11996 Adds the following metrics to the docs: - storage.wal.fsync.latency - rebalancing.range.rebalances - rebalancing.replicas.queriespersecond
5d8469e
to
78c6838
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
seconding @sumeerbhola's slack comment that maybe we should update the WAL failover page to reference storage.wal.failover.write_and_sync.latency
. The tl;dr is that storage.wal.fsync.latency
monitors the latencies of WAL files. If you have WAL failover enabled and are failing over, storage.wal.fsync.latency
will include the latency of the stalled primary. The storage.wal.failover.write_and_sync.latency
metric is up one level, and during the failover will report the latency actually observed by higher-levels (which should be ~equivalent to the latency of the secondary).
thanks for the review @jbowens! and thanks for the additional info, i've filed https://cockroachlabs.atlassian.net/browse/DOC-13184 to update the WAL failover page with that metric as well update: as part of that work i'll also plan to come back and update this list of metrics as well if we decide that's appropriate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just a few small suggestions.
Co-authored-by: Ryan Kuo <[email protected]>
Co-authored-by: Ryan Kuo <[email protected]>
Co-authored-by: Ryan Kuo <[email protected]>
Co-authored-by: Ryan Kuo <[email protected]>
21feb5c
to
c6eb09f
Compare
Fixes DOC-11996