diff --git a/content/en/docs/18.0/reference/backup-and-restore/metrics.md b/content/en/docs/18.0/reference/backup-and-restore/metrics.md index 57d89f091..2e5987fa0 100644 --- a/content/en/docs/18.0/reference/backup-and-restore/metrics.md +++ b/content/en/docs/18.0/reference/backup-and-restore/metrics.md @@ -48,6 +48,15 @@ Vtbackup fetches the last backup, restores it to an empty mysql installation, re _DurationByPhaseSeconds_ exports timings for these individual phases. +#### PhaseStatus + +Vtbackup emits status metrics for its phases of execution. `PhaseStatus` reports a 1 (active) or a 0 (inactive) for each of the following phases and statuses: + + + * `CatchUpReplication` phase has statuses `Stalled` and `Stopped`. + * `Stalled` is set to `1` when replication stops advancing. + * `Stopped` is set to `1` when replication stops before `vtbackup` catches up with the primary. +