Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 452 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 452 Bytes

MySQL worker for MZBench

Supports multiple groups of metrics.

connect

connect(user = "root", password = "supersecret")

For more options please refer to emysql:add_pool function description at mysql driver.

query

query("SELECT * from user")

Execute query and report latencies to default group.

query("mygroup", "SELECT * from user")

To report to mygroup

Full example