m-n-plus-one-db-spans-duration-suceeds.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  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": "858910965e4027eb",
  67. "op": "http.server",
  68. "status": "ok",
  69. "exclusive_time": 6.110906,
  70. "client_sample_rate": 1.0,
  71. "data": {"baseUrl": "/graphql", "query": {}, "url": "/graphql"},
  72. "hash": "a1327720fb543d88",
  73. "tags": {"http.status_code": "200"},
  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.729943,
  150. "start_timestamp": 1668185413.682071,
  151. "exclusive_time": 0.71621,
  152. "description": "execute",
  153. "op": "graphql.execute",
  154. "span_id": "8cb557cde6cf049d",
  155. "parent_span_id": "858910965e4027eb",
  156. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  157. "hash": "ec0cd3cb91fe82b9"
  158. },
  159. {
  160. "timestamp": 1668185413.690526,
  161. "start_timestamp": 1668185413.682359,
  162. "exclusive_time": 8.167028,
  163. "description": "Query.libraries",
  164. "op": "graphql.resolve",
  165. "span_id": "b25491eae8f23566",
  166. "parent_span_id": "8cb557cde6cf049d",
  167. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  168. "hash": "9c3d2cb6bb1c8cdd"
  169. },
  170. {
  171. "timestamp": 1668185413.682709,
  172. "start_timestamp": 1668185413.682709,
  173. "exclusive_time": 7.717133,
  174. "description": "SELECT id, branch FROM libraries",
  175. "op": "db",
  176. "span_id": "bc8a89755d50bf77",
  177. "parent_span_id": "8cb557cde6cf049d",
  178. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  179. "hash": "434042176b5c9d3c"
  180. },
  181. {
  182. "timestamp": 1668185413.694664,
  183. "start_timestamp": 1668185413.690787,
  184. "exclusive_time": 3.876925,
  185. "description": "Library.books",
  186. "op": "graphql.resolve",
  187. "span_id": "951433ef5f9cefcd",
  188. "parent_span_id": "8cb557cde6cf049d",
  189. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  190. "hash": "5fde10c6f804ea55"
  191. },
  192. {
  193. "timestamp": 1668185413.690947,
  194. "start_timestamp": 1668185413.690947,
  195. "exclusive_time": 3.665924,
  196. "description": "SELECT id, title FROM books INNER JOIN library_books lb ON book_id = id WHERE library_id = $1",
  197. "op": "db",
  198. "span_id": "a2b6b5a22a97ebb4",
  199. "parent_span_id": "8cb557cde6cf049d",
  200. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  201. "hash": "02d2b6df06d197ea"
  202. },
  203. {
  204. "timestamp": 1668185413.698841,
  205. "start_timestamp": 1668185413.691387,
  206. "exclusive_time": 7.454156,
  207. "description": "Library.books",
  208. "op": "graphql.resolve",
  209. "span_id": "8ae47ce8d841ee83",
  210. "parent_span_id": "8cb557cde6cf049d",
  211. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  212. "hash": "5fde10c6f804ea55"
  213. },
  214. {
  215. "timestamp": 1668185413.691473,
  216. "start_timestamp": 1668185413.691473,
  217. "exclusive_time": 7.31802,
  218. "description": "SELECT id, title FROM books INNER JOIN library_books lb ON book_id = id WHERE library_id = $1",
  219. "op": "db",
  220. "span_id": "b2455c39e599cb99",
  221. "parent_span_id": "8cb557cde6cf049d",
  222. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  223. "hash": "02d2b6df06d197ea"
  224. },
  225. {
  226. "timestamp": 1668185413.708066,
  227. "start_timestamp": 1668185413.69487,
  228. "exclusive_time": 13.195991,
  229. "description": "Book.authors",
  230. "op": "graphql.resolve",
  231. "span_id": "9c5049407f37a364",
  232. "parent_span_id": "8cb557cde6cf049d",
  233. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  234. "hash": "a109ff3ef40f7fb3"
  235. },
  236. {
  237. "timestamp": 1668185413.695119,
  238. "start_timestamp": 1668185413.695119,
  239. "exclusive_time": 12.903213,
  240. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  241. "op": "db",
  242. "span_id": "ad1453eb469473f5",
  243. "parent_span_id": "8cb557cde6cf049d",
  244. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  245. "hash": "360e4df6dbdee5ca"
  246. },
  247. {
  248. "timestamp": 1668185413.709823,
  249. "start_timestamp": 1668185413.69535,
  250. "exclusive_time": 14.472962,
  251. "description": "Book.authors",
  252. "op": "graphql.resolve",
  253. "span_id": "9ac8fee795f25a28",
  254. "parent_span_id": "8cb557cde6cf049d",
  255. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  256. "hash": "a109ff3ef40f7fb3"
  257. },
  258. {
  259. "timestamp": 1668185413.695506,
  260. "start_timestamp": 1668185413.695506,
  261. "exclusive_time": 14.267922,
  262. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  263. "op": "db",
  264. "span_id": "aacda642ff6787c0",
  265. "parent_span_id": "8cb557cde6cf049d",
  266. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  267. "hash": "360e4df6dbdee5ca"
  268. },
  269. {
  270. "timestamp": 1668185413.711433,
  271. "start_timestamp": 1668185413.69573,
  272. "exclusive_time": 15.702963,
  273. "description": "Book.authors",
  274. "op": "graphql.resolve",
  275. "span_id": "b231fb2367a40bb2",
  276. "parent_span_id": "8cb557cde6cf049d",
  277. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  278. "hash": "a109ff3ef40f7fb3"
  279. },
  280. {
  281. "timestamp": 1668185413.695973,
  282. "start_timestamp": 1668185413.695973,
  283. "exclusive_time": 15.411138,
  284. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  285. "op": "db",
  286. "span_id": "9abcfbac864d1b09",
  287. "parent_span_id": "8cb557cde6cf049d",
  288. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  289. "hash": "360e4df6dbdee5ca"
  290. },
  291. {
  292. "timestamp": 1668185413.712804,
  293. "start_timestamp": 1668185413.696227,
  294. "exclusive_time": 16.577006,
  295. "description": "Book.authors",
  296. "op": "graphql.resolve",
  297. "span_id": "a4acb0c08f6c5392",
  298. "parent_span_id": "8cb557cde6cf049d",
  299. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  300. "hash": "a109ff3ef40f7fb3"
  301. },
  302. {
  303. "timestamp": 1668185413.696362,
  304. "start_timestamp": 1668185413.696362,
  305. "exclusive_time": 16.391993,
  306. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  307. "op": "db",
  308. "span_id": "a1dbea4273c7a8cf",
  309. "parent_span_id": "8cb557cde6cf049d",
  310. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  311. "hash": "360e4df6dbdee5ca"
  312. },
  313. {
  314. "timestamp": 1668185413.719214,
  315. "start_timestamp": 1668185413.696503,
  316. "exclusive_time": 22.711039,
  317. "description": "Book.authors",
  318. "op": "graphql.resolve",
  319. "span_id": "b8467be28b0edef0",
  320. "parent_span_id": "8cb557cde6cf049d",
  321. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  322. "hash": "a109ff3ef40f7fb3"
  323. },
  324. {
  325. "timestamp": 1668185413.696634,
  326. "start_timestamp": 1668185413.696634,
  327. "exclusive_time": 21.841049,
  328. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  329. "op": "db",
  330. "span_id": "9677584719fa33f9",
  331. "parent_span_id": "8cb557cde6cf049d",
  332. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  333. "hash": "360e4df6dbdee5ca"
  334. },
  335. {
  336. "timestamp": 1668185413.720369,
  337. "start_timestamp": 1668185413.696774,
  338. "exclusive_time": 23.595095,
  339. "description": "Book.authors",
  340. "op": "graphql.resolve",
  341. "span_id": "8c6aa95b24d15772",
  342. "parent_span_id": "8cb557cde6cf049d",
  343. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  344. "hash": "a109ff3ef40f7fb3"
  345. },
  346. {
  347. "timestamp": 1668185413.6969,
  348. "start_timestamp": 1668185413.6969,
  349. "exclusive_time": 23.409129,
  350. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  351. "op": "db",
  352. "span_id": "be7d04a1731d5d10",
  353. "parent_span_id": "8cb557cde6cf049d",
  354. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  355. "hash": "360e4df6dbdee5ca"
  356. },
  357. {
  358. "timestamp": 1668185413.723042,
  359. "start_timestamp": 1668185413.701103,
  360. "exclusive_time": 21.939039,
  361. "description": "Book.authors",
  362. "op": "graphql.resolve",
  363. "span_id": "baa57006cb44092a",
  364. "parent_span_id": "8cb557cde6cf049d",
  365. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  366. "hash": "a109ff3ef40f7fb3"
  367. },
  368. {
  369. "timestamp": 1668185413.701386,
  370. "start_timestamp": 1668185413.701386,
  371. "exclusive_time": 21.582127,
  372. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  373. "op": "db",
  374. "span_id": "a383cd625dff4809",
  375. "parent_span_id": "8cb557cde6cf049d",
  376. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  377. "hash": "360e4df6dbdee5ca"
  378. },
  379. {
  380. "timestamp": 1668185413.723968,
  381. "start_timestamp": 1668185413.702842,
  382. "exclusive_time": 21.126032,
  383. "description": "Book.authors",
  384. "op": "graphql.resolve",
  385. "span_id": "9c48fda36f28cb0a",
  386. "parent_span_id": "8cb557cde6cf049d",
  387. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  388. "hash": "a109ff3ef40f7fb3"
  389. },
  390. {
  391. "timestamp": 1668185413.703402,
  392. "start_timestamp": 1668185413.703402,
  393. "exclusive_time": 20.520925,
  394. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  395. "op": "db",
  396. "span_id": "82253694a3a68c93",
  397. "parent_span_id": "8cb557cde6cf049d",
  398. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  399. "hash": "360e4df6dbdee5ca"
  400. },
  401. {
  402. "timestamp": 1668185413.725554,
  403. "start_timestamp": 1668185413.705511,
  404. "exclusive_time": 20.042896,
  405. "description": "Book.authors",
  406. "op": "graphql.resolve",
  407. "span_id": "8831cccebb865893",
  408. "parent_span_id": "8cb557cde6cf049d",
  409. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  410. "hash": "a109ff3ef40f7fb3"
  411. },
  412. {
  413. "timestamp": 1668185413.705885,
  414. "start_timestamp": 1668185413.705885,
  415. "exclusive_time": 19.642115,
  416. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  417. "op": "db",
  418. "span_id": "a2339eabb5c4cf07",
  419. "parent_span_id": "8cb557cde6cf049d",
  420. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  421. "hash": "360e4df6dbdee5ca"
  422. },
  423. {
  424. "timestamp": 1668185413.726588,
  425. "start_timestamp": 1668185413.70607,
  426. "exclusive_time": 20.518064,
  427. "description": "Book.authors",
  428. "op": "graphql.resolve",
  429. "span_id": "8ea362c64d8b9fd9",
  430. "parent_span_id": "8cb557cde6cf049d",
  431. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  432. "hash": "a109ff3ef40f7fb3"
  433. },
  434. {
  435. "timestamp": 1668185413.706279,
  436. "start_timestamp": 1668185413.706279,
  437. "exclusive_time": 20.273924,
  438. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  439. "op": "db",
  440. "span_id": "b8f8a99b783f7b48",
  441. "parent_span_id": "8cb557cde6cf049d",
  442. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  443. "hash": "360e4df6dbdee5ca"
  444. },
  445. {
  446. "timestamp": 1668185413.728283,
  447. "start_timestamp": 1668185413.706457,
  448. "exclusive_time": 21.826029,
  449. "description": "Book.authors",
  450. "op": "graphql.resolve",
  451. "span_id": "87a6041001b4e8f6",
  452. "parent_span_id": "8cb557cde6cf049d",
  453. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  454. "hash": "a109ff3ef40f7fb3"
  455. },
  456. {
  457. "timestamp": 1668185413.706584,
  458. "start_timestamp": 1668185413.706584,
  459. "exclusive_time": 21.646977,
  460. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  461. "op": "db",
  462. "span_id": "ab99c67643fd85cf",
  463. "parent_span_id": "8cb557cde6cf049d",
  464. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  465. "hash": "360e4df6dbdee5ca"
  466. },
  467. {
  468. "timestamp": 1668185413.729776,
  469. "start_timestamp": 1668185413.706718,
  470. "exclusive_time": 23.057938,
  471. "description": "Book.authors",
  472. "op": "graphql.resolve",
  473. "span_id": "a96783f2f544024a",
  474. "parent_span_id": "8cb557cde6cf049d",
  475. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  476. "hash": "a109ff3ef40f7fb3"
  477. },
  478. {
  479. "timestamp": 1668185413.713992,
  480. "start_timestamp": 1668185413.707292,
  481. "exclusive_time": 22.392989,
  482. "description": "SELECT id, name FROM authors INNER JOIN book_authors ON author_id = id WHERE book_id = $1",
  483. "op": "db",
  484. "span_id": "8e110c4aa54e4aa0",
  485. "parent_span_id": "8cb557cde6cf049d",
  486. "trace_id": "ef2c7de0382f4a60bff816c083570bb5",
  487. "hash": "360e4df6dbdee5ca"
  488. }
  489. ],
  490. "start_timestamp": 1668185413.677727,
  491. "timestamp": 1668185413.73171,
  492. "title": "POST /graphql",
  493. "transaction": "POST /graphql",
  494. "transaction_info": {
  495. "source": "route",
  496. "changes": [{"source": "url", "propagations": 0, "timestamp": 1668185413.679132}],
  497. "propagations": 0
  498. },
  499. "type": "transaction",
  500. "version": "7"
  501. }