-
public interface BenchmarkMeterProvides an interface to collect counters and gauges in the benchmark environment. During benchmarking a concrete implementation is used, but in production it is a noop
-
-
Method Summary
Modifier and Type Method Description abstract BenchmarkCountergetCounter(String operation)Gets a BenchmarkCounter for the given counter name. abstract UnitcreateObservableGauge(String metricName, Map<String, String> tags, Function0<Double> callback)Creates an observable gauge for the parameters. -
-
Method Detail
-
getCounter
abstract BenchmarkCounter getCounter(String operation)
Gets a BenchmarkCounter for the given counter name.
-
-
-
-