You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generated/metrics/metrics.yaml
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -10669,13 +10669,13 @@ layers:
10669
10669
essential: true
10670
10670
- name: storage.wal.fsync.latency
10671
10671
exported_name: storage_wal_fsync_latency
10672
-
description: The write ahead log fsync latency
10672
+
description: The fsync latency to the Write-Ahead Log device.
10673
10673
y_axis_label: Fsync Latency
10674
10674
type: HISTOGRAM
10675
10675
unit: NANOSECONDS
10676
10676
aggregation: AVG
10677
10677
derivative: NONE
10678
-
how_to_use: If this value is greater than `100ms`, it is an indication of a disk stall. To mitigate the effects of disk stalls, consider deploying your cluster with WAL failover configured.
10678
+
how_to_use: If this value is greater than 100ms, it is an indication of a disk stall. To mitigate the effects of disk stalls, consider deploying your cluster with WAL failover configured. When WAL failover is configured, the more relevant metric is storage.wal.failover_write_and_sync.latency, as this metric reflects the fsync latency of the primary and/or the secondary WAL device.
10679
10679
essential: true
10680
10680
- name: storage.write-stalls
10681
10681
exported_name: storage_write_stalls
@@ -17403,36 +17403,38 @@ layers:
17403
17403
derivative: NON_NEGATIVE_DERIVATIVE
17404
17404
- name: storage.wal.bytes_in
17405
17405
exported_name: storage_wal_bytes_in
17406
-
description: The number of logical bytes the storage engine has written to the WAL
17406
+
description: The number of logical bytes the storage engine has written to the Write-Ahead Log.
17407
17407
y_axis_label: Events
17408
17408
type: COUNTER
17409
17409
unit: COUNT
17410
17410
aggregation: AVG
17411
17411
derivative: NON_NEGATIVE_DERIVATIVE
17412
17412
- name: storage.wal.bytes_written
17413
17413
exported_name: storage_wal_bytes_written
17414
-
description: The number of bytes the storage engine has written to the WAL
17414
+
description: The number of bytes the storage engine has written to the Write-Ahead Log.
Copy file name to clipboardExpand all lines: pkg/kv/kvserver/metrics.go
+19-13Lines changed: 19 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -2767,52 +2767,58 @@ Note that the measurement does not include the duration for replicating the eval
2767
2767
}
2768
2768
metaWALBytesWritten= metric.Metadata{
2769
2769
Name: "storage.wal.bytes_written",
2770
-
Help: "The number of bytes the storage engine has written to the WAL",
2770
+
Help: "The number of bytes the storage engine has written to the Write-Ahead Log.",
2771
2771
Measurement: "Events",
2772
2772
Unit: metric.Unit_COUNT,
2773
2773
}
2774
2774
metaWALBytesIn= metric.Metadata{
2775
2775
Name: "storage.wal.bytes_in",
2776
-
Help: "The number of logical bytes the storage engine has written to the WAL",
2776
+
Help: "The number of logical bytes the storage engine has written to the Write-Ahead Log.",
2777
2777
Measurement: "Events",
2778
2778
Unit: metric.Unit_COUNT,
2779
2779
}
2780
2780
metaStorageFsyncLatency= metric.Metadata{
2781
2781
Name: "storage.wal.fsync.latency",
2782
-
Help: "The write ahead log fsync latency",
2782
+
Help: "The fsync latency to the Write-Ahead Log device.",
2783
2783
Measurement: "Fsync Latency",
2784
2784
Unit: metric.Unit_NANOSECONDS,
2785
2785
Essential: true,
2786
2786
Category: metric.Metadata_STORAGE,
2787
-
HowToUse: "If this value is greater than `100ms`, it is an indication of a disk stall. To mitigate the effects of disk stalls, consider deploying your cluster with WAL failover configured.",
2787
+
HowToUse: "If this value is greater than 100ms, it is an indication of a disk stall. "+
2788
+
"To mitigate the effects of disk stalls, consider deploying your cluster with WAL failover configured. "+
2789
+
"When WAL failover is configured, the more relevant metric is storage.wal.failover_write_and_sync.latency, as "+
2790
+
"this metric reflects the fsync latency of the primary and/or the secondary WAL device.",
0 commit comments