Create a new OINOBenchmark instance.
array of those benchmarks that are enabled
StaticaddAdd benchmark to be used for service health monitoring.
of the benchmark
of the benchmark
StaticendComplete benchmark timing
of the benchmark
of the benchmark
indicates if the benchmark was successful
StaticgetGet all tracked exceptions.
StaticgetGet service health based on the configured health benchmark.
service health as 0-1
StaticgetGet active benchmarking instance.
StaticgetGet given benchmark data.
of the benchmark
of the benchmark
StaticgetGet all benchmark data.
StaticremoveRemove benchmark from being used for service health monitoring.
of the benchmark
of the benchmark
StaticresetReset benchmark data (but not what is enabled).
StaticsetSet benchmark names that are enabled.
array of those benchmarks that are enabled
StaticsetSet late ratio threshold for health monitoring. If a request takes this many times longer than the average duration, it is considered late and a health failure.
of health benchmarks, e.g. 2.0 means requests that take 2 times longer than the average
StaticsetSet active benchmarking instance.
OINOBenchmark instance
StaticstartStart benchmark timing.
of the benchmark
of the benchmark
StatictrackTrack an exception. Does not consider enabled modules.
of the benchmark
of the benchmark
of the exception
of the exception
trace of the exception
StatictrackTrack a metric value
of the metric
of the metric
of the metric
indicates if the metric was successful
OINOMemoryBenchmark is a memory-based benchmark implementation. It stores the benchmark data in memory and allows to reset, start, end and get benchmark data. In case of recursively/iteratively starting a benchmark, it will honor the first start and ignore the rest. *