Skip to content

prometheus get-wal-replay-stats

Get statistics for wal replay

Description

Returns statistics for Write-Ahead Log (wal) replay

Synopsis

prometheus get-wal-replay-stats
    [--site <site>]
    [--cluster <cluster>]

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

cluster - (string)

     Name of prometheus cluster
     Example: --cluster "prometheus-default"
     Default: prometheus-default      Attributes: optional

Examples

Input:

! prometheus get-wal-replay-stats
Output:
{
  "status": "success",
  "data": {
    "min": 444,
    "max": 449,
    "current": 449
  }
}

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "prometheus"
Service Instance cluster
Namespace
Object Type
Object ID

Please see Access Control for details.