replication
Selecting the replication
resource will display a list of available downstream replication instances used by this instance of AMPS.
Selecting an individual replication instance will display the following statistics:
Metric
Description
Type
authenticated_id
The ID used to authenticate this connection.
fixed
bytes_out
Number of bytes sent to this destination.
cumulative
bytes_out_per_sec
Rate of bytes sent.
interval average
client_name
The client name used for this destination.
fixed
client_type
Specifies whether client is a replication source or destination.
fixed
connect_time
Time connected to this destination.
snapshot
destination_admin_addr
The admin address of the destination.
fixed
destination_group_name
The group name of the destination.
fixed
destination_name
The name of the destination.
fixed
disconnect_count
Number of times replication destination has been disconnected.
cumulative
disconnect_time
Timestamp of the last time the replication destination disconnected.
snapshot
is_connected
Boolean telling whether replication destination is currently connected.
snapshot
messages_out
Number of messages sent to this destination.
cumulative
messages_out_per_sec
Rate of messages sent to this destination.
interval average
name
Name of replication configuration.
fixed
pass_through
Boolean stating whether messages received via replication can be forwarded on this connection.
fixed
replication_type
One of either sync
or async
.
snapshot
seconds_behind
The current point in the transaction log that has been acknowledged by this destination.
This is calculated as the difference in seconds between the time that the last message acknowledged by the destination was written to the transaction log and the time that the most recent transaction was processed.
That is, if the last message that the destination has acknowledged was written to the local transaction log at 12:00:01.100
(one second and 100 ms after 12:00) and the current time is 12:00:03.212
, the seconds behind shown in the current statistics would be approximately 2.112
. Acknowledgements are transmitted at a specific interval (1s by default) from the destination instance to the source instance.
AMPS rounds any value below 1
to 0
.
snapshot
Statistics Database Tables: IREPLICATIONS_STATIC
, IREPLICATIONS_DYNAMIC
Admin Path: /amps/instance/replication/<identifier>/<metric>
The replication
resource also provides options for managing replication instances. The following management functions are available:
Element
Description
downgrade
Change the replication type of this connection from sync
to async
.
reconnect
Close and reopen the connection to the remote instance.
Last updated