replica_status
Check MySQL/MariaDB replica thread state and replication lag with normalized SHOW REPLICA/SLAVE STATUS output; returns empty on primary or standalone servers.
Instructions
[READ] Replica thread state and lag (SHOW REPLICA/SLAVE STATUS, flavor-branched).
Empty on a primary/standalone server. MySQL 8.x uses SHOW REPLICA STATUS; MariaDB uses SHOW SLAVE STATUS — the result is normalised either way.
Args: target: Target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No |