Skip to content

Commit 6cf9483

Browse files
committed
Cover replication_lag metric
1 parent f3c62ca commit 6cf9483

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

articles/postgresql/hyperscale/concepts-monitoring.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ These metrics are available for Hyperscale (Citus) nodes:
6060
|memory_percent|Memory percent|Percent|The percentage of memory in use.|
6161
|network_bytes_ingress|Network In|Bytes|Network In across active connections.|
6262
|network_bytes_egress|Network Out|Bytes|Network Out across active connections.|
63+
|replication_lag|Replication Lag|Seconds|How far read replica nodes are behind their counterparts in the primary cluster.|
6364
|storage_percent|Storage percentage|Percent|The percentage of storage used out of the server's maximum.|
6465
|storage_used|Storage used|Bytes|The amount of storage in use. The storage used by the service may include the database files, transaction logs, and the server logs.|
6566

articles/postgresql/hyperscale/concepts-read-replicas.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,8 @@ There are two common scenarios for promoting a replica:
101101
the replica. To avoid potentially losing data during promotion, you may want
102102
to disable writes to the original server group after the replica catches up.
103103

104-
> [!NOTE]
105-
>
106-
> There isn't yet a way in the Azure portal to view replication lag. To
107-
> determine when a replica has sufficiently caught up, you can insert a signal
108-
> row in a table of the original server group, and wait for it to appear in the
109-
> replica.
104+
You can see how far a replica has caught up with the `replication_lag` metric.
105+
See [metrics](concepts-monitoring.md#metrics) for more information.
110106

111107
## Considerations
112108

0 commit comments

Comments
 (0)