Adding more logs, fixing rest template based benchmark
This commit is contained in:
@@ -63,8 +63,6 @@ public class SleuthBenchmarkingStreamApplication {
|
||||
System.setProperty("spring.sleuth.reactor.instrumentation-type", "MANUAL");
|
||||
System.setProperty("spring.sleuth.function.type", "simple");
|
||||
ConfigurableApplicationContext context = SpringApplication.run(SleuthBenchmarkingStreamApplication.class, args);
|
||||
System.out.println("PRess any key to continue");
|
||||
System.in.read();
|
||||
for (int i = 0; i < 1; i++) {
|
||||
InputDestination input = context.getBean(InputDestination.class);
|
||||
input.send(MessageBuilder.withPayload("hello".getBytes())
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
logging.level:
|
||||
org.springframework: ERROR
|
||||
org.springframework.sleuth: ERROR
|
||||
org.springframework.sleuth.benchmarks: INFO
|
||||
brave: ERROR
|
||||
|
||||
@@ -86,7 +86,7 @@ public class RestTemplateBenchmarkTests {
|
||||
|
||||
@Setup
|
||||
public void setup() {
|
||||
new SpringApplication(SleuthBenchmarkingSpringApp.class).run("--spring.jmx.enabled=false",
|
||||
this.withSleuth = new SpringApplication(SleuthBenchmarkingSpringApp.class).run("--spring.jmx.enabled=false",
|
||||
"--spring.application.name=withSleuth");
|
||||
this.mockMvc = MockMvcBuilders.standaloneSetup(this.withSleuth.getBean(SleuthBenchmarkingSpringApp.class))
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user