Skip to main content

Availability telemetry

Availability telemetry provides information about standby and active nodes in your OpenBao instance.

Default metrics

vault.ha.rpc.client.echo

Metric typeValueDescription
summarymsTime taken to send an echo request from a standby to the active node (also emitted by perf standbys)

vault.ha.rpc.client.echo.errors

Metric typeValueDescription
counternumberNumber of standby echo request failures (also emitted by perf standbys)

vault.ha.rpc.client.forward

Metric typeValueDescription
summarymsTime taken to forward a request from a standby to the active node

vault.ha.rpc.client.forward.errors

Metric typeValueDescription
counternumberNumber of standby request forwarding failures

Merkle tree metrics

vault.merkle.flushDirty

Metric typeValueDescription
summarymsThe average time required to flush dirty pages to storage

vault.merkle.flushDirty.num_pages

Metric typeValueDescription
gaugepagesNumber of pages flushed

vault.merkle.flushDirty.outstanding_pages

Metric typeValueDescription
gaugepagesNumber of dirty pages waiting to be flushed

vault.merkle.saveCheckpoint

Metric typeValueDescription
summarymsThe average time required to save a checkpoint

vault.merkle.saveCheckpoint.num_dirty

Metric typeValueDescription
gaugepagesNumber of dirty pages at checkpoint

Write-ahead log (WAL) telemetry

vault.wal.deleteWALs

Metric typeValueDescription
summarymsTime required to fully delete a write-ahead log

vault.wal.flushReady

Metric typeValueDescription
summarymsTime required to fully flush a write-ahead log that is ready for storage

vault.wal.flushReady.queue_len

Metric typeValueDescription
summarynumberCurrent size of the write queue in the WAL system

vault.wal.gc.deleted

Metric typeValueDescription
gaugenumberNumber of write-ahead logs deleted during garbage collection

vault.wal.gc.total

Metric typeValueDescription
gaugenumberTotal number of write-ahead logs currently on disk

vault.wal.loadWAL

Metric typeValueDescription
summarymsTime required to load a write-ahead log

vault.wal.persistWALs

Metric typeValueDescription
summarymsTime required to persist a write-ahead log

Log shipping metrics

vault.logshipper.buffer.length

Metric typeValueDescription
gaugebuffer entriesCurrent length of the log shipper buffer

vault.logshipper.buffer.max_length

Metric typeValueDescription
gaugebuffer entriesMaximum length of the log shipper buffer seen to date

vault.logshipper.buffer.max_size

Metric typeValueDescription
gaugebytesMaximum allowable size of the log shipper buffer

vault.logshipper.buffer.size

Metric typeValueDescription
gaugebytesCurrent size of the log shipper buffer

vault.logshipper.streamWALs.guard_found

Metric typeValueDescription
counternumberNumber of times OpenBao began streaming WAL entires and found a starting index in the merkle tree

vault.logshipper.streamWALs.missing_guard

Metric typeValueDescription
counternumberNumber of times OpenBao began streaming WAL entires without finding a starting index in the Merkle tree

vault.logshipper.streamWALs.scanned_entries

Metric typeValueDescription
summaryentriesNumber of entries scanned in the buffer before OpenBao found the correct entry