@@ -34,7 +34,7 @@ variables.
34
34
.. _box_info_replication :
35
35
36
36
**replication ** part contains statistics for all instances in the replica
37
- set in regard to the current instance (see also an example in the section
37
+ set in regard to the current instance (see also
38
38
:ref: `"Monitoring a replica set" <replication-monitoring >`):
39
39
40
40
* **replication.id ** is a short numeric identifier of the instance within the
@@ -63,23 +63,30 @@ set in regard to the current instance (see also an example in the section
63
63
* ``stopped `` means that replication was stopped due to a replication error
64
64
(e.g. :ref: `duplicate key <error_codes >`).
65
65
66
+ .. _box_info_replication_upstream_idle :
67
+
66
68
* **replication.upstream.idle ** is the time (in seconds) since the instance
67
69
received the last event from a master.
70
+ This is the primary indicator of replication health.
71
+ See more in :ref: `Monitoring a replica set <replication-monitoring >`.
72
+
73
+ .. _box_info_replication_upstream_peer :
74
+
68
75
* **replication.upstream.peer ** contains the replication user name, host IP
69
76
adress and port number used for the instance.
77
+ See more in :ref: `Monitoring a replica set <replication-monitoring >`.
78
+
79
+ .. _box_info_replication_upstream_lag :
80
+
70
81
* **replication.upstream.lag ** is the time difference between the local time at
71
82
the instance, recorded when the event was received, and the local time at
72
83
another master recorded when the event was written to the
73
84
:ref: `write ahead log <internals-wal >` on that master.
74
-
75
- Since ``lag `` calculation uses operating system clock from two different
76
- machines, don’t be surprised if it’s negative: a time drift may lead to the
77
- remote master clock being consistently behind the local instance's clock.
78
-
79
- For multi-master configurations, this is the maximal lag.
85
+ See more in :ref: `Monitoring a replica set <replication-monitoring >`.
80
86
81
87
* **replication.downstream ** contains statistics for the replication
82
88
data requested and downloaded from the instance.
89
+
83
90
* **replication.downstream.vclock ** is the instance's
84
91
:ref: `vector clock <internals-vector >`, which contains a pair '**id **, **lsn **'.
85
92
@@ -90,7 +97,7 @@ set in regard to the current instance (see also an example in the section
90
97
builds and returns a Lua table with all keys and values provided in the
91
98
submodule.
92
99
93
- :return: keys and values in the submodule.
100
+ :return: keys and values in the submodule
94
101
:rtype: table
95
102
96
103
**Example: **
0 commit comments