File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 66
77- [ apm] fix: Use Performance API for timings when available, including Web Workers (#2492 )
88- [ apm] fix: Remove Performance references (#2495 )
9+ - [ apm] fix: Set ` op ` in node http.server transaction (#2496 )
910
1011## 5.14.1
1112
Original file line number Diff line number Diff line change @@ -34,11 +34,14 @@ export function tracingHandler(): (
3434
3535 const hub = getCurrentHub ( ) ;
3636 const transaction = hub . startSpan ( {
37- transaction : `${ reqMethod } |${ reqUrl } ` ,
37+ op : 'http.server' ,
38+ transaction : `${ reqMethod } ${ reqUrl } ` ,
3839 } ) ;
40+
3941 hub . configureScope ( scope => {
4042 scope . setSpan ( transaction ) ;
4143 } ) ;
44+
4245 res . once ( 'finish' , ( ) => {
4346 transaction . setHttpStatus ( res . statusCode ) ;
4447 transaction . finish ( ) ;
You can’t perform that action at this time.
0 commit comments