4
4
"sent_at" : " [[ISODateString]]" ,
5
5
"sdk" : {
6
6
"name" : " sentry.javascript.node" ,
7
- "version" : " 7.109.0 "
7
+ "version" : " 8.0.0-alpha.9 "
8
8
},
9
- "dsn" : " [[dsn]]" ,
10
- "trace" : {
11
- "environment" : " qa" ,
12
- "public_key" : " [[publicKey]]" ,
13
- "trace_id" : " [[ID2]]" ,
14
- "sample_rate" : " 1" ,
15
- "transaction" : " GET /test-error" ,
16
- "sampled" : " true"
17
- }
9
+ "dsn" : " [[dsn]]"
18
10
},
19
11
{
20
12
"type" : " event"
111
103
{
112
104
"filename" : " [[FILENAME3]]" ,
113
105
"module" : " app" ,
114
- "function" : " <anonymous> " ,
115
- "lineno" : 85 ,
106
+ "function" : " ? " ,
107
+ "lineno" : 83 ,
116
108
"colno" : 12 ,
117
109
"in_app" : true ,
118
110
"pre_context" : [
111
+ " var app = (0, express_1.default)();" ,
112
+ " var port = 3030;" ,
119
113
" // todo: add express integration to docs" ,
120
- " app.use(Sentry.Handlers.requestHandler());" ,
121
- " app.use(Sentry.Handlers.tracingHandler());" ,
122
114
" app.get('/test-success', function (req, res) {" ,
123
115
" res.send({ version: 'v1' });" ,
124
116
" });" ,
171
163
{
172
164
"filename" : " [[FILENAME3]]" ,
173
165
"module" : " app" ,
174
- "function" : " <anonymous> " ,
166
+ "function" : " ? " ,
175
167
"lineno" : 31 ,
176
168
"colno" : 71 ,
177
169
"in_app" : true ,
252
244
{
253
245
"filename" : " [[FILENAME3]]" ,
254
246
"module" : " app" ,
255
- "function" : " <anonymous> " ,
256
- "lineno" : 90 ,
247
+ "function" : " ? " ,
248
+ "lineno" : 88 ,
257
249
"colno" : 59 ,
258
250
"in_app" : true ,
259
251
"pre_context" : [
289
281
"platform" : " node" ,
290
282
"contexts" : {
291
283
"trace" : {
292
- "data" : {
293
- "sentry.source" : " route" ,
294
- "sentry.origin" : " auto.http.node.tracingHandler" ,
295
- "sentry.op" : " http.server" ,
296
- "sentry.sample_rate" : 1
297
- },
298
- "op" : " http.server" ,
299
- "span_id" : " [[ID3]]" ,
300
284
"trace_id" : " [[ID2]]" ,
301
- "origin " : " auto.http.node.tracingHandler "
285
+ "span_id " : " [[ID3]] "
302
286
},
303
287
"runtime" : {
304
288
"name" : " node" ,
340
324
" RequestData" ,
341
325
" Console" ,
342
326
" Http" ,
343
- " Undici " ,
327
+ " NodeFetch " ,
344
328
" OnUncaughtException" ,
345
329
" OnUnhandledRejection" ,
346
330
" ContextLines" ,
347
331
" LocalVariables" ,
348
332
" Context" ,
349
333
" Modules" ,
350
- " Express"
334
+ " Express" ,
335
+ " Fastify" ,
336
+ " Graphql" ,
337
+ " Mongo" ,
338
+ " Mongoose" ,
339
+ " Mysql" ,
340
+ " Mysql2" ,
341
+ " Postgres" ,
342
+ " Nest" ,
343
+ " Hapi" ,
344
+ " Koa"
351
345
],
352
346
"name" : " sentry.javascript.node" ,
353
- "version" : " 7.109.0 " ,
347
+ "version" : " 8.0.0-alpha.9 " ,
354
348
"packages" : [
355
349
{
356
350
"name" : " npm:@sentry/node" ,
357
- "version" : " 7.109.0 "
351
+ "version" : " 8.0.0-alpha.9 "
358
352
}
359
353
]
360
354
},
361
- "tags" : {
362
- "transaction" : " GET /test-error"
363
- },
364
355
"breadcrumbs" : [
365
356
{
366
357
"timestamp" : " [[timestamp]]" ,
387
378
"pragma" : " no-cache" ,
388
379
"cache-control" : " no-cache"
389
380
},
390
- "query_string" : {},
391
381
"url" : " http://localhost:3030/test-error"
392
382
},
393
383
"transaction" : " GET /test-error" ,
394
384
"modules" : {
385
+ "semver" : " 7.6.0" ,
386
+ "yallist" : " 4.0.0" ,
387
+ "shimmer" : " 1.2.1" ,
388
+ "require-in-the-middle" : " 7.3.0" ,
389
+ "resolve" : " 1.22.8" ,
390
+ "is-core-module" : " 2.13.1" ,
391
+ "hasown" : " 2.0.2" ,
392
+ "function-bind" : " 1.1.2" ,
393
+ "debug" : " 4.3.4" ,
394
+ "supports-color" : " 5.5.0" ,
395
+ "module-details-from-path" : " 1.0.3" ,
396
+ "import-in-the-middle" : " 1.7.3" ,
395
397
"express" : " 4.19.2" ,
396
398
"body-parser" : " 1.20.2" ,
397
399
"depd" : " 2.0.0" ,
415
417
"es-errors" : " 1.3.0" ,
416
418
"has-symbols" : " 1.0.3" ,
417
419
"has-proto" : " 1.0.3" ,
418
- "function-bind" : " 1.1.2" ,
419
- "hasown" : " 2.0.2" ,
420
420
"call-bind" : " 1.0.7" ,
421
421
"set-function-length" : " 1.2.2" ,
422
422
"define-data-property" : " 1.1.4" ,
453
453
"raw-body" : " 2.5.2" ,
454
454
"iconv-lite" : " 0.4.24" ,
455
455
"safer-buffer" : " 2.1.2" ,
456
- "serve-static" : " 1.15.0"
456
+ "serve-static" : " 1.15.0" ,
457
+ "opentelemetry-instrumentation-fetch-node" : " 1.1.2"
457
458
}
458
459
}
459
460
]
0 commit comments