Skip to content

Commit 666b67e

Browse files
Add raft metrics (#621)
Add raft saturation metrics
2 parents 21f6d73 + 811ea1b commit 666b67e

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

content/vault/v1.20.x/content/docs/internals/telemetry/metrics/all.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,10 @@ alphabetic order by name.
474474

475475
@include 'telemetry-metrics/vault/raft-storage/transaction.mdx'
476476

477+
@include 'telemetry-metrics/vault/raft/thread/fsm/saturation.mdx'
478+
479+
@include 'telemetry-metrics/vault/raft/thread/main/saturation.mdx'
480+
477481
@include 'telemetry-metrics/vault/raft-wal/head-truncations.mdx'
478482

479483
@include 'telemetry-metrics/vault/raft-wal/tail-truncations.mdx'

content/vault/v1.20.x/content/docs/internals/telemetry/metrics/raft.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ Vault [integrated storage](/vault/docs/configuration/storage/raft).
168168

169169
@include 'telemetry-metrics/vault/raft-storage/transaction.mdx'
170170

171+
## Thread saturation metrics
172+
173+
@include 'telemetry-metrics/vault/raft/thread/main/saturation.mdx'
174+
175+
@include 'telemetry-metrics/vault/raft/thread/fsm/saturation.mdx'
176+
171177
## Write-ahead logging (WAL) metrics
172178

173179
@include 'telemetry-metrics/vault/raft-wal/head-truncations.mdx'
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### vault.raft.thread.fsm.saturation ((#vault-raft-thread-fsm-saturation))
2+
3+
Metric type | Value | Description
4+
----------- | ----------- | -----------
5+
gauge | percentage | Approximate proportion of time the raft FSM goroutine could not accept new work
6+
7+
High saturation of the raft goroutines can increase latency in the rest of the
8+
system and cause cluster instability.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### vault.raft.thread.main.saturation ((#vault-raft-thread-main-saturation))
2+
3+
Metric type | Value | Description
4+
----------- | ----------- | -----------
5+
gauge | percentage | Approximate proportion of time the main raft goroutine could not accept new work
6+
7+
High saturation of the raft goroutines can increase latency in the rest of the
8+
system and cause cluster instability.

0 commit comments

Comments
 (0)