@@ -60,12 +60,29 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
60
60
contexts : expect . objectContaining ( {
61
61
trace : {
62
62
data : {
63
- url : 'http://localhost:3030/test-outgoing-http' ,
64
- 'otel.kind' : 'SERVER' ,
63
+ 'http.flavor' : '1.1' ,
64
+ 'http.host' : 'localhost:3030' ,
65
+ 'http.method' : 'GET' ,
65
66
'http.response.status_code' : 200 ,
67
+ 'http.route' : '/test-outgoing-http' ,
68
+ 'http.scheme' : 'http' ,
69
+ 'http.status_code' : 200 ,
70
+ 'http.status_text' : 'OK' ,
71
+ 'http.target' : '/test-outgoing-http' ,
72
+ 'http.url' : 'http://localhost:3030/test-outgoing-http' ,
73
+ 'http.user_agent' : 'axios/1.6.7' ,
74
+ 'net.host.ip' : '::1' ,
75
+ 'net.host.name' : 'localhost' ,
76
+ 'net.host.port' : 3030 ,
77
+ 'net.peer.ip' : '::1' ,
78
+ 'net.peer.port' : 35152 ,
79
+ 'net.transport' : 'ip_tcp' ,
80
+ 'otel.kind' : 'SERVER' ,
66
81
'sentry.op' : 'http.server' ,
67
82
'sentry.origin' : 'auto.http.otel.http' ,
83
+ 'sentry.sample_rate' : 1 ,
68
84
'sentry.source' : 'route' ,
85
+ url : 'http://localhost:3030/test-outgoing-http' ,
69
86
} ,
70
87
op : 'http.server' ,
71
88
span_id : expect . any ( String ) ,
@@ -159,12 +176,29 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
159
176
contexts : expect . objectContaining ( {
160
177
trace : {
161
178
data : {
162
- url : 'http://localhost:3030/test-outgoing-fetch' ,
163
- 'otel.kind' : 'SERVER' ,
179
+ 'http.flavor' : '1.1' ,
180
+ 'http.host' : 'localhost:3030' ,
181
+ 'http.method' : 'GET' ,
164
182
'http.response.status_code' : 200 ,
183
+ 'http.route' : '/test-outgoing-fetch' ,
184
+ 'http.scheme' : 'http' ,
185
+ 'http.status_code' : 200 ,
186
+ 'http.status_text' : 'OK' ,
187
+ 'http.target' : '/test-outgoing-fetch' ,
188
+ 'http.url' : 'http://localhost:3030/test-outgoing-fetch' ,
189
+ 'http.user_agent' : 'axios/1.6.7' ,
190
+ 'net.host.ip' : '::1' ,
191
+ 'net.host.name' : 'localhost' ,
192
+ 'net.host.port' : 3030 ,
193
+ 'net.peer.ip' : '::1' ,
194
+ 'net.peer.port' : 40084 ,
195
+ 'net.transport' : 'ip_tcp' ,
196
+ 'otel.kind' : 'SERVER' ,
165
197
'sentry.op' : 'http.server' ,
166
198
'sentry.origin' : 'auto.http.otel.http' ,
199
+ 'sentry.sample_rate' : 1 ,
167
200
'sentry.source' : 'route' ,
201
+ url : 'http://localhost:3030/test-outgoing-fetch' ,
168
202
} ,
169
203
op : 'http.server' ,
170
204
span_id : expect . any ( String ) ,
0 commit comments