For MariaDB the connection parameters are the same as the schema options. The refresh rate determines the sampling interval.
The following SQL is used to sample the transaction rate.
show global status where Variable_name = 'Com_commit' or Variable_name = 'Com_rollback'