Skip to content

Latest commit

 

History

History

cassandra

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cassandra worker for MZBench

Supports multiple groups of metrics.

connect

connect(host = "127.0.0.1", keyspace = "system")

Host is "127.0.0.1" by default, port is 9042. For more options please refer to cqerl:get_client modes.

query

query("SELECT * from local")

Execute query and report latencies.

Full example

set_prefix

Set prefix for metric reporting, for example you could differ between two queries or two threads stats.

set_prefix("mygroup")