m-n-plus-one-graphql-transaction-parent.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. {
  2. "event_id": "3818ae4f54ba4fa6ac6f68c9e32793c4",
  3. "project": 4504141171785728,
  4. "release": null,
  5. "dist": null,
  6. "platform": "node",
  7. "message": "",
  8. "datetime": "2022-11-11T16:50:13.731710+00:00",
  9. "tags": [
  10. ["browser", "Chrome 107.0.0"],
  11. ["browser.name", "Chrome"],
  12. ["client_os", "Mac OS X 10.15.7"],
  13. ["client_os.name", "Mac OS X"],
  14. ["environment", "production"],
  15. ["http.status_code", "200"],
  16. ["level", "info"],
  17. ["os", "macOS 12.5.1"],
  18. ["os.name", "macOS"],
  19. ["runtime", "node v16.13.1"],
  20. ["runtime.name", "node"],
  21. ["transaction", "POST /graphql"],
  22. ["url", "http://localhost/graphql"]
  23. ],
  24. "_meta": {
  25. "request": {"data": {"": {"rem": [["@password:filter", "s", 0, 10]], "len": 188}}}
  26. },
  27. "_metrics": {"bytes.ingested.event": 13865, "bytes.stored.event": 18329},
  28. "breadcrumbs": {
  29. "values": []
  30. },
  31. "breakdowns": {
  32. "span_ops": {
  33. "ops.db": {"value": 46.455146, "unit": "millisecond"},
  34. "total.time": {"value": 141.48307, "unit": "millisecond"}
  35. }
  36. },
  37. "contexts": {
  38. "app": {
  39. "app_start_time": "2022-11-11T16:39:50.987Z",
  40. "app_memory": 83312640,
  41. "type": "app"
  42. },
  43. "browser": {"name": "Chrome", "version": "107.0.0", "type": "browser"},
  44. "client_os": {"name": "Mac OS X", "version": "10.15.7", "type": "os"},
  45. "culture": {"locale": "en-CA", "timezone": "America/Toronto", "type": "culture"},
  46. "device": {
  47. "arch": "arm64",
  48. "memory_size": 34359738368,
  49. "free_memory": 103956480,
  50. "boot_time": "2022-11-03T14:23:07.278Z",
  51. "processor_count": 10,
  52. "cpu_description": "Apple M1 Pro",
  53. "processor_frequency": 24,
  54. "type": "device"
  55. },
  56. "os": {
  57. "name": "macOS",
  58. "version": "12.5.1",
  59. "build": "21G83",
  60. "kernel_version": "21.6.0",
  61. "type": "os"
  62. },
  63. "runtime": {"name": "node", "version": "v16.13.1", "type": "runtime"},
  64. "trace": {
  65. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  66. "span_id": "8cb557cde6cf049d",
  67. "timestamp": 1668185413.729943,
  68. "start_timestamp": 1668185413.682071,
  69. "exclusive_time": 0.71621,
  70. "client_sample_rate": 1.0,
  71. "description": "execute",
  72. "op": "graphql.execute",
  73. "hash": "ec0cd3cb91fe82b9",
  74. "type": "trace"
  75. }
  76. },
  77. "culprit": "POST /graphql",
  78. "environment": "production",
  79. "grouping_config": {
  80. "enhancements": "eJybzDRxY3J-bm5-npWRgaGlroGxrpHxBABcYgcZ",
  81. "id": "newstyle:2019-10-29"
  82. },
  83. "hashes": [],
  84. "ingest_path": [
  85. {"version": "22.10.0", "public_key": "XE7QiyuNlja9PZ7I9qJlwQotzecWrUIN91BAO7Q5R38"}
  86. ],
  87. "key_id": "2706066",
  88. "level": "info",
  89. "location": "POST /graphql",
  90. "logger": "",
  91. "metadata": {"location": "POST /graphql", "title": "POST /graphql"},
  92. "nodestore_insert": 1668185417.23467,
  93. "received": 1668185414.04859,
  94. "request": {
  95. "url": "http://localhost/graphql",
  96. "method": "POST",
  97. "data": "[Filtered]",
  98. "headers": [
  99. ["Accept", "*/*"],
  100. ["Accept-Encoding", "gzip, deflate, br"],
  101. ["Accept-Language", "en-US,en;q=0.9"],
  102. ["Connection", "keep-alive"],
  103. ["Content-Length", "188"],
  104. ["Content-Type", "application/json"],
  105. ["Host", "localhost:4000"],
  106. ["Origin", "http://localhost:4000"],
  107. ["Referer", "http://localhost:4000/graphql"],
  108. [
  109. "Sec-Ch-Ua",
  110. "\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\""
  111. ],
  112. ["Sec-Ch-Ua-Mobile", "?0"],
  113. ["Sec-Ch-Ua-Platform", "\"macOS\""],
  114. ["Sec-Fetch-Dest", "empty"],
  115. ["Sec-Fetch-Mode", "cors"],
  116. ["Sec-Fetch-Site", "same-origin"],
  117. [
  118. "User-Agent",
  119. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
  120. ]
  121. ],
  122. "inferred_content_type": "application/json"
  123. },
  124. "sdk": {
  125. "name": "sentry.javascript.node",
  126. "version": "7.19.0",
  127. "integrations": [
  128. "InboundFilters",
  129. "FunctionToString",
  130. "Console",
  131. "Http",
  132. "OnUncaughtException",
  133. "OnUnhandledRejection",
  134. "ContextLines",
  135. "Context",
  136. "Modules",
  137. "RequestData",
  138. "LinkedErrors",
  139. "Postgres",
  140. "Express",
  141. "Apollo",
  142. "GraphQL"
  143. ],
  144. "packages": [{"name": "npm:@sentry/node", "version": "7.19.0"}]
  145. },
  146. "span_grouping_config": {"id": "default:2022-10-27"},
  147. "spans": [
  148. {
  149. "timestamp": 1668185413.690526,
  150. "start_timestamp": 1668185413.682359,
  151. "exclusive_time": 8.167028,
  152. "description": "Query.libraries",
  153. "op": "graphql.resolve",
  154. "span_id": "b25491eae8f23566",
  155. "parent_span_id": "8cb557cde6cf049d",
  156. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  157. "hash": "9c3d2cb6bb1c8cdd"
  158. },
  159. {
  160. "timestamp": 1668185413.690426,
  161. "start_timestamp": 1668185413.682709,
  162. "exclusive_time": 7.717133,
  163. "description": "SELECT id, branch FROM libraries",
  164. "op": "db",
  165. "span_id": "bc8a89755d50bf77",
  166. "parent_span_id": "8cb557cde6cf049d",
  167. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  168. "hash": "434042176b5c9d3c"
  169. },
  170. {
  171. "timestamp": 1668185413.694664,
  172. "start_timestamp": 1668185413.690787,
  173. "exclusive_time": 3.876925,
  174. "description": "Library.books",
  175. "op": "graphql.resolve",
  176. "span_id": "951433ef5f9cefcd",
  177. "parent_span_id": "8cb557cde6cf049d",
  178. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  179. "hash": "5fde10c6f804ea55"
  180. },
  181. {
  182. "timestamp": 1668185413.694613,
  183. "start_timestamp": 1668185413.690947,
  184. "exclusive_time": 3.665924,
  185. "description": "SELECT id, title FROM books INNER JOIN library_books lb ON book_id = id WHERE library_id = $1",
  186. "op": "db",
  187. "span_id": "a2b6b5a22a97ebb4",
  188. "parent_span_id": "8cb557cde6cf049d",
  189. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  190. "hash": "02d2b6df06d197ea"
  191. },
  192. {
  193. "timestamp": 1668185413.698841,
  194. "start_timestamp": 1668185413.691387,
  195. "exclusive_time": 7.454156,
  196. "description": "Library.books",
  197. "op": "graphql.resolve",
  198. "span_id": "8ae47ce8d841ee83",
  199. "parent_span_id": "8cb557cde6cf049d",
  200. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  201. "hash": "5fde10c6f804ea55"
  202. },
  203. {
  204. "timestamp": 1668185413.698791,
  205. "start_timestamp": 1668185413.691473,
  206. "exclusive_time": 7.31802,
  207. "description": "SELECT id, title FROM books INNER JOIN library_books lb ON book_id = id WHERE library_id = $1",
  208. "op": "db",
  209. "span_id": "b2455c39e599cb99",
  210. "parent_span_id": "8cb557cde6cf049d",
  211. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  212. "hash": "02d2b6df06d197ea"
  213. },
  214. {
  215. "timestamp": 1668185413.708066,
  216. "start_timestamp": 1668185413.69487,
  217. "exclusive_time": 13.195991,
  218. "description": "Book.authors",
  219. "op": "graphql.resolve",
  220. "span_id": "9c5049407f37a364",
  221. "parent_span_id": "8cb557cde6cf049d",
  222. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  223. "hash": "a109ff3ef40f7fb3"
  224. },
  225. {
  226. "timestamp": 1668185413.708022,
  227. "start_timestamp": 1668185413.695119,
  228. "exclusive_time": 12.903213,
  229. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  230. "op": "db",
  231. "span_id": "ad1453eb469473f5",
  232. "parent_span_id": "8cb557cde6cf049d",
  233. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  234. "hash": "360e4df6dbdee5ca"
  235. },
  236. {
  237. "timestamp": 1668185413.709823,
  238. "start_timestamp": 1668185413.69535,
  239. "exclusive_time": 14.472962,
  240. "description": "Book.authors",
  241. "op": "graphql.resolve",
  242. "span_id": "9ac8fee795f25a28",
  243. "parent_span_id": "8cb557cde6cf049d",
  244. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  245. "hash": "a109ff3ef40f7fb3"
  246. },
  247. {
  248. "timestamp": 1668185413.709774,
  249. "start_timestamp": 1668185413.695506,
  250. "exclusive_time": 14.267922,
  251. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  252. "op": "db",
  253. "span_id": "aacda642ff6787c0",
  254. "parent_span_id": "8cb557cde6cf049d",
  255. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  256. "hash": "360e4df6dbdee5ca"
  257. },
  258. {
  259. "timestamp": 1668185413.711433,
  260. "start_timestamp": 1668185413.69573,
  261. "exclusive_time": 15.702963,
  262. "description": "Book.authors",
  263. "op": "graphql.resolve",
  264. "span_id": "b231fb2367a40bb2",
  265. "parent_span_id": "8cb557cde6cf049d",
  266. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  267. "hash": "a109ff3ef40f7fb3"
  268. },
  269. {
  270. "timestamp": 1668185413.711384,
  271. "start_timestamp": 1668185413.695973,
  272. "exclusive_time": 15.411138,
  273. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  274. "op": "db",
  275. "span_id": "9abcfbac864d1b09",
  276. "parent_span_id": "8cb557cde6cf049d",
  277. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  278. "hash": "360e4df6dbdee5ca"
  279. },
  280. {
  281. "timestamp": 1668185413.712804,
  282. "start_timestamp": 1668185413.696227,
  283. "exclusive_time": 16.577006,
  284. "description": "Book.authors",
  285. "op": "graphql.resolve",
  286. "span_id": "a4acb0c08f6c5392",
  287. "parent_span_id": "8cb557cde6cf049d",
  288. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  289. "hash": "a109ff3ef40f7fb3"
  290. },
  291. {
  292. "timestamp": 1668185413.712754,
  293. "start_timestamp": 1668185413.696362,
  294. "exclusive_time": 16.391993,
  295. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  296. "op": "db",
  297. "span_id": "a1dbea4273c7a8cf",
  298. "parent_span_id": "8cb557cde6cf049d",
  299. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  300. "hash": "360e4df6dbdee5ca"
  301. },
  302. {
  303. "timestamp": 1668185413.719214,
  304. "start_timestamp": 1668185413.696503,
  305. "exclusive_time": 22.711039,
  306. "description": "Book.authors",
  307. "op": "graphql.resolve",
  308. "span_id": "b8467be28b0edef0",
  309. "parent_span_id": "8cb557cde6cf049d",
  310. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  311. "hash": "a109ff3ef40f7fb3"
  312. },
  313. {
  314. "timestamp": 1668185413.718475,
  315. "start_timestamp": 1668185413.696634,
  316. "exclusive_time": 21.841049,
  317. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  318. "op": "db",
  319. "span_id": "9677584719fa33f9",
  320. "parent_span_id": "8cb557cde6cf049d",
  321. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  322. "hash": "360e4df6dbdee5ca"
  323. },
  324. {
  325. "timestamp": 1668185413.720369,
  326. "start_timestamp": 1668185413.696774,
  327. "exclusive_time": 23.595095,
  328. "description": "Book.authors",
  329. "op": "graphql.resolve",
  330. "span_id": "8c6aa95b24d15772",
  331. "parent_span_id": "8cb557cde6cf049d",
  332. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  333. "hash": "a109ff3ef40f7fb3"
  334. },
  335. {
  336. "timestamp": 1668185413.720309,
  337. "start_timestamp": 1668185413.6969,
  338. "exclusive_time": 23.409129,
  339. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  340. "op": "db",
  341. "span_id": "be7d04a1731d5d10",
  342. "parent_span_id": "8cb557cde6cf049d",
  343. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  344. "hash": "360e4df6dbdee5ca"
  345. },
  346. {
  347. "timestamp": 1668185413.723042,
  348. "start_timestamp": 1668185413.701103,
  349. "exclusive_time": 21.939039,
  350. "description": "Book.authors",
  351. "op": "graphql.resolve",
  352. "span_id": "baa57006cb44092a",
  353. "parent_span_id": "8cb557cde6cf049d",
  354. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  355. "hash": "a109ff3ef40f7fb3"
  356. },
  357. {
  358. "timestamp": 1668185413.722968,
  359. "start_timestamp": 1668185413.701386,
  360. "exclusive_time": 21.582127,
  361. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  362. "op": "db",
  363. "span_id": "a383cd625dff4809",
  364. "parent_span_id": "8cb557cde6cf049d",
  365. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  366. "hash": "360e4df6dbdee5ca"
  367. },
  368. {
  369. "timestamp": 1668185413.723968,
  370. "start_timestamp": 1668185413.702842,
  371. "exclusive_time": 21.126032,
  372. "description": "Book.authors",
  373. "op": "graphql.resolve",
  374. "span_id": "9c48fda36f28cb0a",
  375. "parent_span_id": "8cb557cde6cf049d",
  376. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  377. "hash": "a109ff3ef40f7fb3"
  378. },
  379. {
  380. "timestamp": 1668185413.723923,
  381. "start_timestamp": 1668185413.703402,
  382. "exclusive_time": 20.520925,
  383. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  384. "op": "db",
  385. "span_id": "82253694a3a68c93",
  386. "parent_span_id": "8cb557cde6cf049d",
  387. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  388. "hash": "360e4df6dbdee5ca"
  389. },
  390. {
  391. "timestamp": 1668185413.725554,
  392. "start_timestamp": 1668185413.705511,
  393. "exclusive_time": 20.042896,
  394. "description": "Book.authors",
  395. "op": "graphql.resolve",
  396. "span_id": "8831cccebb865893",
  397. "parent_span_id": "8cb557cde6cf049d",
  398. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  399. "hash": "a109ff3ef40f7fb3"
  400. },
  401. {
  402. "timestamp": 1668185413.725527,
  403. "start_timestamp": 1668185413.705885,
  404. "exclusive_time": 19.642115,
  405. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  406. "op": "db",
  407. "span_id": "a2339eabb5c4cf07",
  408. "parent_span_id": "8cb557cde6cf049d",
  409. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  410. "hash": "360e4df6dbdee5ca"
  411. },
  412. {
  413. "timestamp": 1668185413.726588,
  414. "start_timestamp": 1668185413.70607,
  415. "exclusive_time": 20.518064,
  416. "description": "Book.authors",
  417. "op": "graphql.resolve",
  418. "span_id": "8ea362c64d8b9fd9",
  419. "parent_span_id": "8cb557cde6cf049d",
  420. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  421. "hash": "a109ff3ef40f7fb3"
  422. },
  423. {
  424. "timestamp": 1668185413.726553,
  425. "start_timestamp": 1668185413.706279,
  426. "exclusive_time": 20.273924,
  427. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  428. "op": "db",
  429. "span_id": "b8f8a99b783f7b48",
  430. "parent_span_id": "8cb557cde6cf049d",
  431. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  432. "hash": "360e4df6dbdee5ca"
  433. },
  434. {
  435. "timestamp": 1668185413.728283,
  436. "start_timestamp": 1668185413.706457,
  437. "exclusive_time": 21.826029,
  438. "description": "Book.authors",
  439. "op": "graphql.resolve",
  440. "span_id": "87a6041001b4e8f6",
  441. "parent_span_id": "8cb557cde6cf049d",
  442. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  443. "hash": "a109ff3ef40f7fb3"
  444. },
  445. {
  446. "timestamp": 1668185413.728231,
  447. "start_timestamp": 1668185413.706584,
  448. "exclusive_time": 21.646977,
  449. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  450. "op": "db",
  451. "span_id": "ab99c67643fd85cf",
  452. "parent_span_id": "8cb557cde6cf049d",
  453. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  454. "hash": "360e4df6dbdee5ca"
  455. },
  456. {
  457. "timestamp": 1668185413.729776,
  458. "start_timestamp": 1668185413.706718,
  459. "exclusive_time": 23.057938,
  460. "description": "Book.authors",
  461. "op": "graphql.resolve",
  462. "span_id": "a96783f2f544024a",
  463. "parent_span_id": "8cb557cde6cf049d",
  464. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  465. "hash": "a109ff3ef40f7fb3"
  466. },
  467. {
  468. "timestamp": 1668185413.829685,
  469. "start_timestamp": 1668185413.707292,
  470. "exclusive_time": 22.392989,
  471. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  472. "op": "db",
  473. "span_id": "8e110c4aa54e4aa0",
  474. "parent_span_id": "8cb557cde6cf049d",
  475. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  476. "hash": "360e4df6dbdee5ca"
  477. }
  478. ],
  479. "start_timestamp": 1668185413.677727,
  480. "timestamp": 1668185413.73171,
  481. "title": "POST /graphql",
  482. "transaction": "POST /graphql",
  483. "transaction_info": {
  484. "source": "route",
  485. "changes": [{"source": "url", "propagations": 0, "timestamp": 1668185413.679132}],
  486. "propagations": 0
  487. },
  488. "type": "transaction",
  489. "version": "7"
  490. }