Search in sources :

Example 1 with ExceptionMeterMetrics

use of io.nosqlbench.engine.api.metrics.ExceptionMeterMetrics in project nosqlbench by nosqlbench.

the class StdoutActivity method initActivity.

@Override
public void initActivity() {
    logger.debug("initializing activity: " + this.activityDef.getAlias());
    exceptionMeterMetrics = new ExceptionMeterMetrics(activityDef);
    onActivityDefUpdate(activityDef);
    opSequence = initOpSequencer();
    setDefaultsFromOpSequence(opSequence);
    bindTimer = ActivityMetrics.timer(activityDef, "bind");
    executeTimer = ActivityMetrics.timer(activityDef, "execute");
    resultTimer = ActivityMetrics.timer(activityDef, "result");
    triesHisto = ActivityMetrics.histogram(activityDef, "tries");
    this.pw = createPrintWriter();
}
Also used : ExceptionMeterMetrics(io.nosqlbench.engine.api.metrics.ExceptionMeterMetrics)

Aggregations

ExceptionMeterMetrics (io.nosqlbench.engine.api.metrics.ExceptionMeterMetrics)1