n-plus-one-api-calls-in-weather-app.json 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. {
  2. "event_id": "02552061b47b467cb38d1d2dd26eed21",
  3. "platform": "javascript",
  4. "datetime": "2022-11-15T20:49:10.032000+00:00",
  5. "tags": [
  6. ["browser", "Safari 16.1"],
  7. ["browser.name", "Safari"],
  8. ["device", "Mac"],
  9. ["device.family", "Mac"],
  10. ["level", "info"],
  11. ["os", "Mac OS X 10.15.7"],
  12. ["os.name", "Mac OS X"],
  13. ["transaction", "/"],
  14. ["url", "https://badweather.app/"]
  15. ],
  16. "culprit": "/",
  17. "environment": "production",
  18. "location": "/",
  19. "received": 1668545350.983485,
  20. "request": {
  21. "url": "https://badweather.app/",
  22. "headers": [
  23. ["Referer", "https://badweather.app/"],
  24. [
  25. "User-Agent",
  26. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15"
  27. ]
  28. ]
  29. },
  30. "sdk": {
  31. "name": "sentry.javascript.react",
  32. "version": "7.19.0",
  33. "integrations": [
  34. "InboundFilters",
  35. "FunctionToString",
  36. "TryCatch",
  37. "Breadcrumbs",
  38. "GlobalHandlers",
  39. "LinkedErrors",
  40. "Dedupe",
  41. "HttpContext",
  42. "BrowserTracing"
  43. ],
  44. "packages": [{"name": "npm:@sentry/react", "version": "7.19.0"}]
  45. },
  46. "spans": [
  47. {
  48. "timestamp": 1668545349.59,
  49. "start_timestamp": 1668545349.465,
  50. "exclusive_time": 125.0,
  51. "description": "GET /cities.json",
  52. "op": "http.client",
  53. "span_id": "a0f135af07189533",
  54. "parent_span_id": "829b196a0d42cb39",
  55. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  56. "status": "ok",
  57. "tags": {"http.status_code": "200"},
  58. "data": {"method": "GET", "type": "fetch", "url": "/cities.json"},
  59. "hash": "743372e8fa81c1b0"
  60. },
  61. {
  62. "timestamp": 1668545349.728,
  63. "start_timestamp": 1668545349.596,
  64. "exclusive_time": 131.999969,
  65. "description": "GET /1001/weather.json",
  66. "op": "http.client",
  67. "span_id": "a96cd1a09beaf517",
  68. "parent_span_id": "829b196a0d42cb39",
  69. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  70. "status": "ok",
  71. "tags": {"http.status_code": "200"},
  72. "data": {"method": "GET", "type": "fetch", "url": "/1001/weather.json"},
  73. "hash": "19024ee371da3e81"
  74. },
  75. {
  76. "timestamp": 1668545349.732,
  77. "start_timestamp": 1668545349.597,
  78. "exclusive_time": 135.000229,
  79. "description": "GET /1002/weather.json",
  80. "op": "http.client",
  81. "span_id": "92d4d11d67bd7b11",
  82. "parent_span_id": "829b196a0d42cb39",
  83. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  84. "status": "ok",
  85. "tags": {"http.status_code": "200"},
  86. "data": {"method": "GET", "type": "fetch", "url": "/1002/weather.json"},
  87. "hash": "d8fee0ab2e868c86"
  88. },
  89. {
  90. "timestamp": 1668545349.732,
  91. "start_timestamp": 1668545349.597,
  92. "exclusive_time": 135.000229,
  93. "description": "GET /1003/weather.json",
  94. "op": "http.client",
  95. "span_id": "87860b9710086321",
  96. "parent_span_id": "829b196a0d42cb39",
  97. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  98. "status": "ok",
  99. "tags": {"http.status_code": "200"},
  100. "data": {"method": "GET", "type": "fetch", "url": "/1003/weather.json"},
  101. "hash": "c5e299c2ac92635c"
  102. },
  103. {
  104. "timestamp": 1668545349.748,
  105. "start_timestamp": 1668545349.598,
  106. "exclusive_time": 149.999857,
  107. "description": "GET /1004/weather.json",
  108. "op": "http.client",
  109. "span_id": "bd1bdd517a14e373",
  110. "parent_span_id": "829b196a0d42cb39",
  111. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  112. "status": "ok",
  113. "tags": {"http.status_code": "200"},
  114. "data": {"method": "GET", "type": "fetch", "url": "/1004/weather.json"},
  115. "hash": "02005e7f3d43645e"
  116. },
  117. {
  118. "timestamp": 1668545349.742,
  119. "start_timestamp": 1668545349.598,
  120. "exclusive_time": 144.000053,
  121. "description": "GET /1005/weather.json",
  122. "op": "http.client",
  123. "span_id": "b49820cc40d4b3f3",
  124. "parent_span_id": "829b196a0d42cb39",
  125. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  126. "status": "ok",
  127. "tags": {"http.status_code": "200"},
  128. "data": {"method": "GET", "type": "fetch", "url": "/1005/weather.json"},
  129. "hash": "7f0d40c5e1a6008a"
  130. },
  131. {
  132. "timestamp": 1668545349.748,
  133. "start_timestamp": 1668545349.599,
  134. "exclusive_time": 148.999929,
  135. "description": "GET /1006/weather.json",
  136. "op": "http.client",
  137. "span_id": "bcf1978a5c3d5e85",
  138. "parent_span_id": "829b196a0d42cb39",
  139. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  140. "status": "ok",
  141. "tags": {"http.status_code": "200"},
  142. "data": {"method": "GET", "type": "fetch", "url": "/1006/weather.json"},
  143. "hash": "9940a1669b7b340d"
  144. },
  145. {
  146. "timestamp": 1668545349.819,
  147. "start_timestamp": 1668545349.599,
  148. "exclusive_time": 220.000028,
  149. "description": "GET /1007/weather.json",
  150. "op": "http.client",
  151. "span_id": "9ae3037832ae9087",
  152. "parent_span_id": "829b196a0d42cb39",
  153. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  154. "status": "ok",
  155. "tags": {"http.status_code": "200"},
  156. "data": {"method": "GET", "type": "fetch", "url": "/1007/weather.json"},
  157. "hash": "dbdd01c7a2317d09"
  158. },
  159. {
  160. "timestamp": 1668545349.748,
  161. "start_timestamp": 1668545349.599,
  162. "exclusive_time": 148.999929,
  163. "description": "GET /1008/weather.json",
  164. "op": "http.client",
  165. "span_id": "b318d62b647b48eb",
  166. "parent_span_id": "829b196a0d42cb39",
  167. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  168. "status": "ok",
  169. "tags": {"http.status_code": "200"},
  170. "data": {"method": "GET", "type": "fetch", "url": "/1008/weather.json"},
  171. "hash": "78f8c7e5d77b6884"
  172. },
  173. {
  174. "timestamp": 1668545349.766,
  175. "start_timestamp": 1668545349.599,
  176. "exclusive_time": 167.000055,
  177. "description": "GET /1009/weather.json",
  178. "op": "http.client",
  179. "span_id": "8fe40e9ce9a29d8d",
  180. "parent_span_id": "829b196a0d42cb39",
  181. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  182. "status": "ok",
  183. "tags": {"http.status_code": "200"},
  184. "data": {"method": "GET", "type": "fetch", "url": "/1009/weather.json"},
  185. "hash": "3e228a5dc2af00ba"
  186. },
  187. {
  188. "timestamp": 1668545348.856,
  189. "start_timestamp": 1668545348.856,
  190. "exclusive_time": 0.0,
  191. "description": "unloadEvent",
  192. "op": "browser",
  193. "span_id": "970c2abc222b36bd",
  194. "parent_span_id": "829b196a0d42cb39",
  195. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  196. "hash": "8e6939b423884b5c"
  197. },
  198. {
  199. "timestamp": 1668545349.032,
  200. "start_timestamp": 1668545349.032,
  201. "exclusive_time": 0.0,
  202. "description": "domContentLoadedEvent",
  203. "op": "browser",
  204. "span_id": "82789829aad76252",
  205. "parent_span_id": "829b196a0d42cb39",
  206. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  207. "hash": "b0e3ee8970392a6f"
  208. },
  209. {
  210. "timestamp": 1668545349.043,
  211. "start_timestamp": 1668545349.043,
  212. "exclusive_time": 0.0,
  213. "description": "loadEvent",
  214. "op": "browser",
  215. "span_id": "b7a0ebd2c04a9158",
  216. "parent_span_id": "829b196a0d42cb39",
  217. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  218. "hash": "39e89edd65c7c22a"
  219. },
  220. {
  221. "timestamp": 1668545348.839,
  222. "start_timestamp": 1668545348.697,
  223. "exclusive_time": 141.99996,
  224. "description": "request",
  225. "op": "browser",
  226. "span_id": "947a5ca101f70d35",
  227. "parent_span_id": "829b196a0d42cb39",
  228. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  229. "hash": "10573b873d2fa5a3"
  230. },
  231. {
  232. "timestamp": 1668545348.839,
  233. "start_timestamp": 1668545348.839,
  234. "exclusive_time": 0.0,
  235. "description": "response",
  236. "op": "browser",
  237. "span_id": "9423b7dfa1e31576",
  238. "parent_span_id": "829b196a0d42cb39",
  239. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  240. "hash": "d1fc8eaf36937be0"
  241. }
  242. ],
  243. "start_timestamp": 1668545348.696,
  244. "timestamp": 1668545350.032,
  245. "title": "/",
  246. "transaction": "/",
  247. "transaction_info": {"source": "url", "changes": [], "propagations": 10},
  248. "type": "transaction",
  249. "version": "7"
  250. }