Fixed missing options for benchmarks
This commit is contained in:
@@ -47,6 +47,10 @@ public class Pair {
|
||||
return new Pair("spring.sleuth.reactor.instrumentation-type", SleuthReactorProperties.InstrumentationType.DECORATE_ON_EACH.name());
|
||||
}
|
||||
|
||||
public static Pair decorateQueues() {
|
||||
return new Pair("spring.sleuth.reactor.instrumentation-type", SleuthReactorProperties.InstrumentationType.DECORATE_QUEUES.name());
|
||||
}
|
||||
|
||||
public static Pair manual() {
|
||||
return new Pair("spring.sleuth.reactor.instrumentation-type", SleuthReactorProperties.InstrumentationType.MANUAL.name());
|
||||
}
|
||||
|
||||
@@ -163,8 +163,7 @@ public class MicroBenchmarkStreamTests {
|
||||
sleuthSimpleOnLast(function("simple"), Pair.onLast()),
|
||||
sleuthSimpleWithAroundOnQueues(function("simple_function_with_around")),
|
||||
noSleuthReactiveSimple(function("reactive_simple"), Pair.noSleuth()),
|
||||
// TODO: CHECK WHY IT'S FAILING
|
||||
// sleuthReactiveSimpleOnQueues(function("DECORATE_QUEUES")),
|
||||
sleuthReactiveSimpleOnQueues(function("DECORATE_QUEUES"), Pair.decorateQueues(), integrationEnabled()),
|
||||
sleuthReactiveSimpleOnEach(function("DECORATE_ON_EACH"), Pair.onEach(), integrationEnabled()),
|
||||
sleuthReactiveSimpleManual(function("reactive_simple_manual"), Pair.manual()),
|
||||
sleuthReactiveSimpleNoFunctionInstrumentationManual(function("reactive_simple_manual"), Pair.manual(), integrationEnabled(), functionDisabled());
|
||||
|
||||
Reference in New Issue
Block a user