64
64
* @author Taejin Koo
65
65
*/
66
66
@ RestController
67
- @ RequestMapping (path = {"/api" , "/api/trace " })
67
+ @ RequestMapping (path = {"/api" , "/api/transaction " })
68
68
@ Validated
69
- public class BusinessTransactionController {
69
+ public class TransactionController {
70
70
private final Logger logger = LogManager .getLogger (this .getClass ());
71
71
72
72
public static final String DEFAULT_FOCUS_TIMESTAMP = "0" ;
@@ -83,19 +83,19 @@ public class BusinessTransactionController {
83
83
private int callstackSelectSpansLimit ;
84
84
85
85
86
- public BusinessTransactionController (SpanService spanService ,
87
- TransactionInfoService transactionInfoService ,
88
- FilteredMapService filteredMapService ,
89
- HyperLinkFactory hyperLinkFactory ,
90
- LogLinkBuilder logLinkBuilder ) {
86
+ public TransactionController (SpanService spanService ,
87
+ TransactionInfoService transactionInfoService ,
88
+ FilteredMapService filteredMapService ,
89
+ HyperLinkFactory hyperLinkFactory ,
90
+ LogLinkBuilder logLinkBuilder ) {
91
91
this .spanService = Objects .requireNonNull (spanService , "spanService" );
92
92
this .transactionInfoService = Objects .requireNonNull (transactionInfoService , "transactionInfoService" );
93
93
this .filteredMapService = Objects .requireNonNull (filteredMapService , "filteredMapService" );
94
94
this .hyperLinkFactory = Objects .requireNonNull (hyperLinkFactory , "hyperLinkFactory" );
95
95
this .logLinkBuilder = Objects .requireNonNull (logLinkBuilder , "logLinkBuilder" );
96
96
}
97
97
98
- @ GetMapping (value = "/transaction " )
98
+ @ GetMapping (value = "/trace " )
99
99
public TransactionInfoViewModel getTrace (
100
100
@ RequestParam ("traceId" ) @ NotBlank String traceId ,
101
101
@ RequestParam (value = "focusTimestamp" , required = false , defaultValue = DEFAULT_FOCUS_TIMESTAMP )
0 commit comments