We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48f1a4f commit b753043Copy full SHA for b753043
dev-packages/node-integration-tests/suites/express-v5/tracing/test.ts
@@ -82,6 +82,22 @@ describe('express v5 tracing', () => {
82
.expect({
83
transaction: {
84
transaction: 'GET /',
85
+ contexts: {
86
+ trace: {
87
+ span_id: expect.stringMatching(/[a-f0-9]{16}/),
88
+ trace_id: expect.stringMatching(/[a-f0-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': '/', // <-- this should work
95
+ 'http.target': '/',
96
+ },
97
+ op: 'http.server',
98
+ status: 'ok',
99
100
101
},
102
})
103
.start();
0 commit comments