blob: c42968e6ba583d767034ad98c59f21fb1acd9063 [file] [log] [blame]
RULE timing of request messages broken down by verb
CLASS org.apache.cassandra.net.MessagingService
METHOD doSend
AT ENTRY
BIND prefix:String = "org.jboss.byteman."; # byteman in strict mode requires the o.j.b prefix
toHost:String = $to.getAddress().toString();
verb:String = $message.header.verb.toString();
prop:String = prefix + "|request_verb_timing|" + toHost + "|" + verb;
IF true
DO
System.setProperty(prop, String.valueOf(System.currentTimeMillis()));
ENDRULE