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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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 /country/canada/weather?city_id=1001",
  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": {
  73. "method": "GET",
  74. "type": "fetch",
  75. "url": "/country/canada/weather?city_id=1001"
  76. },
  77. "hash": "19024ee371da3e81"
  78. },
  79. {
  80. "timestamp": 1668545349.732,
  81. "start_timestamp": 1668545349.597,
  82. "exclusive_time": 135.000229,
  83. "description": "GET /country/canada/weather?city_id=1002",
  84. "op": "http.client",
  85. "span_id": "92d4d11d67bd7b11",
  86. "parent_span_id": "829b196a0d42cb39",
  87. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  88. "status": "ok",
  89. "tags": {"http.status_code": "200"},
  90. "data": {
  91. "method": "GET",
  92. "type": "fetch",
  93. "url": "/country/canada/weather?city_id=1002"
  94. },
  95. "hash": "19024ee371da3e81"
  96. },
  97. {
  98. "timestamp": 1668545349.732,
  99. "start_timestamp": 1668545349.597,
  100. "exclusive_time": 135.000229,
  101. "description": "GET /country/canada/weather?city_id=1003",
  102. "op": "http.client",
  103. "span_id": "87860b9710086321",
  104. "parent_span_id": "829b196a0d42cb39",
  105. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  106. "status": "ok",
  107. "tags": {"http.status_code": "200"},
  108. "data": {
  109. "method": "GET",
  110. "type": "fetch",
  111. "url": "/country/canada/weather?city_id=1003"
  112. },
  113. "hash": "19024ee371da3e81"
  114. },
  115. {
  116. "timestamp": 1668545349.748,
  117. "start_timestamp": 1668545349.598,
  118. "exclusive_time": 149.999857,
  119. "description": "GET /country/canada/weather?city_id=1004",
  120. "op": "http.client",
  121. "span_id": "bd1bdd517a14e373",
  122. "parent_span_id": "829b196a0d42cb39",
  123. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  124. "status": "ok",
  125. "tags": {"http.status_code": "200"},
  126. "data": {
  127. "method": "GET",
  128. "type": "fetch",
  129. "url": "/country/canada/weather?city_id=1004"
  130. },
  131. "hash": "19024ee371da3e81"
  132. },
  133. {
  134. "timestamp": 1668545349.742,
  135. "start_timestamp": 1668545349.598,
  136. "exclusive_time": 144.000053,
  137. "description": "GET /country/canada/weather?city_id=1005",
  138. "op": "http.client",
  139. "span_id": "b49820cc40d4b3f3",
  140. "parent_span_id": "829b196a0d42cb39",
  141. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  142. "status": "ok",
  143. "tags": {"http.status_code": "200"},
  144. "data": {
  145. "method": "GET",
  146. "type": "fetch",
  147. "url": "/country/canada/weather?city_id=1005"
  148. },
  149. "hash": "19024ee371da3e81"
  150. },
  151. {
  152. "timestamp": 1668545349.748,
  153. "start_timestamp": 1668545349.599,
  154. "exclusive_time": 148.999929,
  155. "description": "GET /country/canada/weather?city_id=1006",
  156. "op": "http.client",
  157. "span_id": "bcf1978a5c3d5e85",
  158. "parent_span_id": "829b196a0d42cb39",
  159. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  160. "status": "ok",
  161. "tags": {"http.status_code": "200"},
  162. "data": {
  163. "method": "GET",
  164. "type": "fetch",
  165. "url": "/country/canada/weather?city_id=1006"
  166. },
  167. "hash": "19024ee371da3e81"
  168. },
  169. {
  170. "timestamp": 1668545349.819,
  171. "start_timestamp": 1668545349.599,
  172. "exclusive_time": 220.000028,
  173. "description": "GET /country/canada/weather?city_id=1007",
  174. "op": "http.client",
  175. "span_id": "9ae3037832ae9087",
  176. "parent_span_id": "829b196a0d42cb39",
  177. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  178. "status": "ok",
  179. "tags": {"http.status_code": "200"},
  180. "data": {
  181. "method": "GET",
  182. "type": "fetch",
  183. "url": "/country/canada/weather?city_id=1007"
  184. },
  185. "hash": "19024ee371da3e81"
  186. },
  187. {
  188. "timestamp": 1668545349.748,
  189. "start_timestamp": 1668545349.599,
  190. "exclusive_time": 148.999929,
  191. "description": "GET /country/canada/weather?city_id=1008",
  192. "op": "http.client",
  193. "span_id": "b318d62b647b48eb",
  194. "parent_span_id": "829b196a0d42cb39",
  195. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  196. "status": "ok",
  197. "tags": {"http.status_code": "200"},
  198. "data": {
  199. "method": "GET",
  200. "type": "fetch",
  201. "url": "/country/canada/weather?city_id=1008"
  202. },
  203. "hash": "19024ee371da3e81"
  204. },
  205. {
  206. "timestamp": 1668545349.766,
  207. "start_timestamp": 1668545349.599,
  208. "exclusive_time": 167.000055,
  209. "description": "GET /country/canada/weather?city_id=1009",
  210. "op": "http.client",
  211. "span_id": "8fe40e9ce9a29d8d",
  212. "parent_span_id": "829b196a0d42cb39",
  213. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  214. "status": "ok",
  215. "tags": {"http.status_code": "200"},
  216. "data": {
  217. "method": "GET",
  218. "type": "fetch",
  219. "url": "/country/canada/weather?city_id=1009"
  220. },
  221. "hash": "19024ee371da3e81"
  222. },
  223. {
  224. "timestamp": 1668545349.601,
  225. "start_timestamp": 1668545349.601,
  226. "exclusive_time": 158.000055,
  227. "description": "GET /country/canada/weather?city_id=1010",
  228. "op": "http.client",
  229. "span_id": "40e9ce9a29d8d8fe",
  230. "parent_span_id": "829b196a0d42cb39",
  231. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  232. "status": "ok",
  233. "tags": {"http.status_code": "200"},
  234. "data": {
  235. "method": "GET",
  236. "type": "fetch",
  237. "url": "/country/canada/weather?city_id=1010"
  238. },
  239. "hash": "19024ee371da3e81"
  240. },
  241. {
  242. "timestamp": 1668545348.856,
  243. "start_timestamp": 1668545348.856,
  244. "exclusive_time": 0.0,
  245. "description": "unloadEvent",
  246. "op": "browser",
  247. "span_id": "970c2abc222b36bd",
  248. "parent_span_id": "829b196a0d42cb39",
  249. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  250. "hash": "8e6939b423884b5c"
  251. },
  252. {
  253. "timestamp": 1668545349.032,
  254. "start_timestamp": 1668545349.032,
  255. "exclusive_time": 0.0,
  256. "description": "domContentLoadedEvent",
  257. "op": "browser",
  258. "span_id": "82789829aad76252",
  259. "parent_span_id": "829b196a0d42cb39",
  260. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  261. "hash": "b0e3ee8970392a6f"
  262. },
  263. {
  264. "timestamp": 1668545349.043,
  265. "start_timestamp": 1668545349.043,
  266. "exclusive_time": 0.0,
  267. "description": "loadEvent",
  268. "op": "browser",
  269. "span_id": "b7a0ebd2c04a9158",
  270. "parent_span_id": "829b196a0d42cb39",
  271. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  272. "hash": "39e89edd65c7c22a"
  273. },
  274. {
  275. "timestamp": 1668545348.839,
  276. "start_timestamp": 1668545348.697,
  277. "exclusive_time": 141.99996,
  278. "description": "request",
  279. "op": "browser",
  280. "span_id": "947a5ca101f70d35",
  281. "parent_span_id": "829b196a0d42cb39",
  282. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  283. "hash": "10573b873d2fa5a3"
  284. },
  285. {
  286. "timestamp": 1668545348.839,
  287. "start_timestamp": 1668545348.839,
  288. "exclusive_time": 0.0,
  289. "description": "response",
  290. "op": "browser",
  291. "span_id": "9423b7dfa1e31576",
  292. "parent_span_id": "829b196a0d42cb39",
  293. "trace_id": "5e4bea914d3944d3b2d0e31b079d1db5",
  294. "hash": "d1fc8eaf36937be0"
  295. }
  296. ],
  297. "start_timestamp": 1668545348.696,
  298. "timestamp": 1668545350.032,
  299. "title": "/",
  300. "transaction": "/",
  301. "transaction_info": {"source": "url", "changes": [], "propagations": 10},
  302. "type": "transaction",
  303. "version": "7"
  304. }