Skip to content

Commit d98e78e

Browse files
committed
save payload
1 parent 38281b1 commit d98e78e

10 files changed

+326
-1601
lines changed

utils/event-proxy-server/payload-files/express/test-error--event.json

Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,9 @@
44
"sent_at": "[[ISODateString]]",
55
"sdk": {
66
"name": "sentry.javascript.node",
7-
"version": "7.109.0"
7+
"version": "8.0.0-alpha.9"
88
},
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]]"
1810
},
1911
{
2012
"type": "event"
@@ -111,14 +103,14 @@
111103
{
112104
"filename": "[[FILENAME3]]",
113105
"module": "app",
114-
"function": "<anonymous>",
115-
"lineno": 85,
106+
"function": "?",
107+
"lineno": 83,
116108
"colno": 12,
117109
"in_app": true,
118110
"pre_context": [
111+
"var app = (0, express_1.default)();",
112+
"var port = 3030;",
119113
"// todo: add express integration to docs",
120-
"app.use(Sentry.Handlers.requestHandler());",
121-
"app.use(Sentry.Handlers.tracingHandler());",
122114
"app.get('/test-success', function (req, res) {",
123115
" res.send({ version: 'v1' });",
124116
"});",
@@ -171,7 +163,7 @@
171163
{
172164
"filename": "[[FILENAME3]]",
173165
"module": "app",
174-
"function": "<anonymous>",
166+
"function": "?",
175167
"lineno": 31,
176168
"colno": 71,
177169
"in_app": true,
@@ -252,8 +244,8 @@
252244
{
253245
"filename": "[[FILENAME3]]",
254246
"module": "app",
255-
"function": "<anonymous>",
256-
"lineno": 90,
247+
"function": "?",
248+
"lineno": 88,
257249
"colno": 59,
258250
"in_app": true,
259251
"pre_context": [
@@ -289,16 +281,8 @@
289281
"platform": "node",
290282
"contexts": {
291283
"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]]",
300284
"trace_id": "[[ID2]]",
301-
"origin": "auto.http.node.tracingHandler"
285+
"span_id": "[[ID3]]"
302286
},
303287
"runtime": {
304288
"name": "node",
@@ -340,27 +324,34 @@
340324
"RequestData",
341325
"Console",
342326
"Http",
343-
"Undici",
327+
"NodeFetch",
344328
"OnUncaughtException",
345329
"OnUnhandledRejection",
346330
"ContextLines",
347331
"LocalVariables",
348332
"Context",
349333
"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"
351345
],
352346
"name": "sentry.javascript.node",
353-
"version": "7.109.0",
347+
"version": "8.0.0-alpha.9",
354348
"packages": [
355349
{
356350
"name": "npm:@sentry/node",
357-
"version": "7.109.0"
351+
"version": "8.0.0-alpha.9"
358352
}
359353
]
360354
},
361-
"tags": {
362-
"transaction": "GET /test-error"
363-
},
364355
"breadcrumbs": [
365356
{
366357
"timestamp": "[[timestamp]]",
@@ -387,11 +378,22 @@
387378
"pragma": "no-cache",
388379
"cache-control": "no-cache"
389380
},
390-
"query_string": {},
391381
"url": "http://localhost:3030/test-error"
392382
},
393383
"transaction": "GET /test-error",
394384
"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",
395397
"express": "4.19.2",
396398
"body-parser": "1.20.2",
397399
"depd": "2.0.0",
@@ -415,8 +417,6 @@
415417
"es-errors": "1.3.0",
416418
"has-symbols": "1.0.3",
417419
"has-proto": "1.0.3",
418-
"function-bind": "1.1.2",
419-
"hasown": "2.0.2",
420420
"call-bind": "1.0.7",
421421
"set-function-length": "1.2.2",
422422
"define-data-property": "1.1.4",
@@ -453,7 +453,8 @@
453453
"raw-body": "2.5.2",
454454
"iconv-lite": "0.4.24",
455455
"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"
457458
}
458459
}
459460
]

utils/event-proxy-server/payload-files/express/test-error--transaction.json

Lines changed: 0 additions & 207 deletions
This file was deleted.

0 commit comments

Comments
 (0)