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 1645642f7..ac83023ed 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
@@ -50,11 +50,11 @@ _restore_duration_seconds_ times the duration of a restore. This metric is depre
Vtbackup exports some metrics which are not available elsewhere.
-#### DurationByPhaseSeconds
+#### Phase
Vtbackup fetches the last backup, restores it to an empty mysql installation, replicates recent changes into that installation, and then takes a backup of that installation.
-_DurationByPhaseSeconds_ exports timings for these individual phases.
+_Phase_ a binary-valued gauge that reports the currently active phase.
@@ -91,11 +91,11 @@ _DurationByPhaseSeconds_ exports timings for these individual phases.
"BackupEngine.Builtin.Destination:Close": 17144630,
"BackupStorage.File.File:Write": 10743169
},
- "DurationByPhaseSeconds": {
- "InitMySQLd": 2,
- "RestoreLastBackup": 6,
- "CatchUpReplication": 1,
- "TakeNewBackup": 4
+ "Phase": {
+ "InitialBackup": 0,
+ "RestoreLastBackup": 0,
+ "CatchUpReplication": 0,
+ "TakeNewBackup": 0
},
"RestoreBytes": {
"BackupEngine.Builtin.Source:Read": 1095,
@@ -131,6 +131,6 @@ _DurationByPhaseSeconds_ exports timings for these individual phases.
Some notes to help understand these metrics:
* `BackupBytes["BackupStorage.File.File:Write"]` measures how many bytes were read from disk by the `file` Backup Storage implementation during the backup phase.
- * `DurationByPhaseSeconds["CatchUpReplication"]` measures how long it took to catch-up replication after the restore phase.
- * `DurationByPhaseSeconds["RestoreLastBackup"]` measures to the duration of the restore phase.
+ * `Phase["CatchUpReplication"]` reports whether the catch-up replication phase is active (1) or not (0).
+ * `Phase["RestoreLastBackup"]` reports whether the restore last backup phase is active (1) or not (0).
* `RestoreDurationNanoseconds["-.-.Restore"]` also measures to the duration of the restore phase.