- 
                Notifications
    
You must be signed in to change notification settings  - Fork 476
 
          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 <8740013+taroface@users.noreply.github.com>
Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com>
Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com>
Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com>
21feb5c    to
    c6eb09f      
    Compare
  
    Adds the following metrics using their DataDog names: - `storage_wal_fsync_latency` - `rebalancing_replicas_queriespersecond` - `range_merges` - `rebalancing_lease_transfers` - `rebalancing_range_rebalances` See also cockroachdb/docs#19425, where these were added to the CockroachDB docs.
Adds the following metrics using their DataDog names: - `storage_wal_fsync_latency` - `rebalancing_replicas_queriespersecond` - `range_merges` - `rebalancing_lease_transfers` - `rebalancing_range_rebalances` See also cockroachdb/docs#19425, where these were added to the CockroachDB docs.
Fixes DOC-11996