File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
opentelemetry/spring-boot-instrumentation/src/main/java/com/example/demo Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public class MultiController {
4040 * span for the controller body.
4141 */
4242 @ GetMapping ("/multi" )
43- public Mono <String > index () throws Exception {
43+ public Mono <String > handleMulti () throws Exception {
4444 int subRequests = ThreadLocalRandom .current ().nextInt (3 , 8 );
4545
4646 // Write a structured log with the request context, which allows the log to
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public class SingleController {
3535 * span for the controller body.
3636 */
3737 @ GetMapping ("/single" )
38- public String index () throws InterruptedException {
38+ public String handleSingle () throws InterruptedException {
3939 int sleepMillis = ThreadLocalRandom .current ().nextInt (100 , 200 );
4040 logger .info ("Going to sleep for {}" , sleepMillis );
4141 Thread .sleep (sleepMillis );
You can’t perform that action at this time.
0 commit comments