Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions docs/generated/metrics/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10551,6 +10551,16 @@ layers:
derivative: NON_NEGATIVE_DERIVATIVE
how_to_use: This metric reports the number of a node's LSM compactions. If the number of compactions remains elevated while the LSM health does not improve, compactions are not keeping up with the workload. If the condition persists for an extended period, the cluster will initially exhibit performance issues that will eventually escalate into stability issues.
essential: true
- name: storage.wal.failover.write_and_sync.latency
exported_name: storage_wal_failover_write_and_sync_latency
description: The observed latency for writing and syncing to the logical Write-Ahead Log.
y_axis_label: Nanoseconds
type: HISTOGRAM
unit: NANOSECONDS
aggregation: AVG
derivative: NONE
how_to_use: Only populated when WAL failover is configured. Without WAL failover, the relevant metric is storage.wal.fsync.latency.
essential: true
- name: storage.wal.fsync.latency
exported_name: storage_wal_fsync_latency
description: The fsync latency to the Write-Ahead Log device.
Expand Down Expand Up @@ -17352,15 +17362,6 @@ layers:
aggregation: AVG
derivative: NON_NEGATIVE_DERIVATIVE
how_to_use: Only populated when WAL failover is configured. A high switch count indicates that many disk stalls were encountered.
- name: storage.wal.failover.write_and_sync.latency
exported_name: storage_wal_failover_write_and_sync_latency
description: The observed latency for writing and syncing to the logical Write-Ahead Log.
y_axis_label: Nanoseconds
type: HISTOGRAM
unit: NANOSECONDS
aggregation: AVG
derivative: NONE
how_to_use: Only populated when WAL failover is configured. Without WAL failover, the relevant metric is storage.wal.fsync.latency.
- name: storage.write-amplification
exported_name: storage_write_amplification
description: |-
Expand Down
2 changes: 2 additions & 0 deletions pkg/kv/kvserver/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -2823,6 +2823,8 @@ Note that the measurement does not include the duration for replicating the eval
Name: "storage.wal.failover.write_and_sync.latency",
Help: "The observed latency for writing and syncing to the logical Write-Ahead Log.",
Measurement: "Nanoseconds",
Category: metric.Metadata_STORAGE,
Essential: true,
Unit: metric.Unit_NANOSECONDS,
HowToUse: "Only populated when WAL failover is configured. Without WAL failover, the relevant " +
"metric is storage.wal.fsync.latency.",
Expand Down