replication (instance statistics)
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 the connection to this instance of AMPS. | 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 | UTC timestamp of the last connection to this destination, in ISO-8601 format. Updated when the connection is reestablished. | 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 This value does not directly measure how far the destination is behind in receiving messages. The destination may have received the messages but still be waiting for acknowledgements from its own destinations configured for AMPS rounds any value less than or equal to | snapshot |
Statistics Database Tables: IREPLICATIONS_STATIC, IREPLICATIONS_DYNAMIC
Admin Path: /amps/instance/replication/<identifier>/<metric>
To manage a replication connection, use the replication resource under administrator. The following actions are available:
Admin Action Path: /amps/administrator/replication/<identifier>/<action>
Only destinations configured for sync acknowledgement can be successfully upgraded or downgraded. A destination configured for async acknowledgement always uses async acknowledgement.
| Element | Description |
|---|---|
downgrade | Change the current acknowledgement type of a destination configured for sync from sync to async. |
upgrade | Restore sync acknowledgement for a destination configured for sync that has been downgraded to async. |
reconnect | Close and reopen the connection to the remote instance. |