replication_lag_rca
Identify causes of MySQL replication lag from thread state and error fields, then get recommended actions. Use with provided status or fetch live replica status.
Instructions
[READ] Map replica thread state / lag / error fields to cause + action.
Pass 'status' (as from replica_status) for pure/offline analysis, or omit to pull the live replica status (flavor-branched).
Args: status: Injected replica status record; if omitted, pulled live. target: Target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| target | No |