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', () => {
8282 . expect ( {
8383 transaction : {
8484 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+ } ,
85101 } ,
86102 } )
87103 . start ( ) ;
Original file line number Diff line number Diff line change @@ -83,6 +83,22 @@ describe('express tracing', () => {
8383 . expect ( {
8484 transaction : {
8585 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+ } ,
86102 } ,
87103 } )
88104 . start ( ) ;
You can’t perform that action at this time.
0 commit comments