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 6
6
7
7
- [ apm] fix: Use Performance API for timings when available, including Web Workers (#2492 )
8
8
- [ apm] fix: Remove Performance references (#2495 )
9
+ - [ apm] fix: Set ` op ` in node http.server transaction (#2496 )
9
10
10
11
## 5.14.1
11
12
Original file line number Diff line number Diff line change @@ -34,11 +34,14 @@ export function tracingHandler(): (
34
34
35
35
const hub = getCurrentHub ( ) ;
36
36
const transaction = hub . startSpan ( {
37
- transaction : `${ reqMethod } |${ reqUrl } ` ,
37
+ op : 'http.server' ,
38
+ transaction : `${ reqMethod } ${ reqUrl } ` ,
38
39
} ) ;
40
+
39
41
hub . configureScope ( scope => {
40
42
scope . setSpan ( transaction ) ;
41
43
} ) ;
44
+
42
45
res . once ( 'finish' , ( ) => {
43
46
transaction . setHttpStatus ( res . statusCode ) ;
44
47
transaction . finish ( ) ;
You can’t perform that action at this time.
0 commit comments