Skip to content

Latest commit

 

History

History
 
 

mysql

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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