File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
dev-packages/node-integration-tests/suites Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,22 @@ describe('express v5 tracing', () => {
82
82
. expect ( {
83
83
transaction : {
84
84
transaction : 'GET /' ,
85
+ contexts : {
86
+ trace : {
87
+ span_id : expect . stringMatching ( / [ a - f 0 - 9 ] { 16 } / ) ,
88
+ trace_id : expect . stringMatching ( / [ a - f 0 - 9 ] { 32 } / ) ,
89
+ data : {
90
+ 'http.response.status_code' : 200 ,
91
+ url : expect . stringMatching ( / \/ $ / ) ,
92
+ 'http.method' : 'GET' ,
93
+ 'http.url' : expect . stringMatching ( / \/ $ / ) ,
94
+ 'http.route' : '/' ,
95
+ 'http.target' : '/' ,
96
+ } ,
97
+ op : 'http.server' ,
98
+ status : 'ok' ,
99
+ } ,
100
+ } ,
85
101
} ,
86
102
} )
87
103
. start ( ) ;
Original file line number Diff line number Diff line change @@ -83,6 +83,22 @@ describe('express tracing', () => {
83
83
. expect ( {
84
84
transaction : {
85
85
transaction : 'GET /' ,
86
+ contexts : {
87
+ trace : {
88
+ span_id : expect . stringMatching ( / [ a - f 0 - 9 ] { 16 } / ) ,
89
+ trace_id : expect . stringMatching ( / [ a - f 0 - 9 ] { 32 } / ) ,
90
+ data : {
91
+ 'http.response.status_code' : 200 ,
92
+ url : expect . stringMatching ( / \/ $ / ) ,
93
+ 'http.method' : 'GET' ,
94
+ 'http.url' : expect . stringMatching ( / \/ $ / ) ,
95
+ 'http.route' : '/' ,
96
+ 'http.target' : '/' ,
97
+ } ,
98
+ op : 'http.server' ,
99
+ status : 'ok' ,
100
+ } ,
101
+ } ,
86
102
} ,
87
103
} )
88
104
. start ( ) ;
You can’t perform that action at this time.
0 commit comments