query-waterfall-in-django-random-view.json 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. {
  2. "event_id": "ba9cf0e72b8c42439a6490be90d9733e",
  3. "datetime": "2022-09-01T18:26:54.891961+00:00",
  4. "culprit": "/books/random",
  5. "environment": "production",
  6. "location": "/books/random",
  7. "spans": [
  8. {
  9. "timestamp": 1662056814.89176,
  10. "start_timestamp": 1662056812.372931,
  11. "exclusive_time": 0.075102,
  12. "description": "django.middleware.security.SecurityMiddleware.__call__",
  13. "op": "django.middleware",
  14. "span_id": "a89998c1da6a5bef",
  15. "parent_span_id": "8709547e7bddbc30",
  16. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  17. "tags": {
  18. "django.function_name": "django.utils.deprecation.MiddlewareMixin.__call__",
  19. "django.middleware_name": "django.middleware.security.SecurityMiddleware"
  20. },
  21. "hash": "0f43fb6f6e01ca52",
  22. "same_process_as_parent": true
  23. },
  24. {
  25. "timestamp": 1662056814.891711,
  26. "start_timestamp": 1662056812.372957,
  27. "exclusive_time": 0.333071,
  28. "description": "django.contrib.sessions.middleware.SessionMiddleware.__call__",
  29. "op": "django.middleware",
  30. "span_id": "9694a88054de6840",
  31. "parent_span_id": "a89998c1da6a5bef",
  32. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  33. "tags": {
  34. "django.function_name": "django.utils.deprecation.MiddlewareMixin.__call__",
  35. "django.middleware_name": "django.contrib.sessions.middleware.SessionMiddleware"
  36. },
  37. "hash": "3dc5dd68b38e1730",
  38. "same_process_as_parent": true
  39. },
  40. {
  41. "timestamp": 1662056814.891669,
  42. "start_timestamp": 1662056812.373248,
  43. "exclusive_time": 0.377892,
  44. "description": "django.middleware.common.CommonMiddleware.__call__",
  45. "op": "django.middleware",
  46. "span_id": "91de208b04235f13",
  47. "parent_span_id": "9694a88054de6840",
  48. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  49. "tags": {
  50. "django.function_name": "django.utils.deprecation.MiddlewareMixin.__call__",
  51. "django.middleware_name": "django.middleware.common.CommonMiddleware"
  52. },
  53. "hash": "424c6ae1641f0f0e",
  54. "same_process_as_parent": true
  55. },
  56. {
  57. "timestamp": 1662056814.891639,
  58. "start_timestamp": 1662056812.373596,
  59. "exclusive_time": 0.047208,
  60. "description": "django.middleware.csrf.CsrfViewMiddleware.__call__",
  61. "op": "django.middleware",
  62. "span_id": "81d7fe6c50c5ae77",
  63. "parent_span_id": "91de208b04235f13",
  64. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  65. "tags": {
  66. "django.function_name": "django.utils.deprecation.MiddlewareMixin.__call__",
  67. "django.middleware_name": "django.middleware.csrf.CsrfViewMiddleware"
  68. },
  69. "hash": "d5da18d7274b34a1",
  70. "same_process_as_parent": true
  71. },
  72. {
  73. "timestamp": 1662056814.891625,
  74. "start_timestamp": 1662056812.373629,
  75. "exclusive_time": 0.036717,
  76. "description": "django.contrib.auth.middleware.AuthenticationMiddleware.__call__",
  77. "op": "django.middleware",
  78. "span_id": "a22e198d0846f268",
  79. "parent_span_id": "81d7fe6c50c5ae77",
  80. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  81. "tags": {
  82. "django.function_name": "django.utils.deprecation.MiddlewareMixin.__call__",
  83. "django.middleware_name": "django.contrib.auth.middleware.AuthenticationMiddleware"
  84. },
  85. "hash": "ac72fc0a4f5fe381",
  86. "same_process_as_parent": true
  87. },
  88. {
  89. "timestamp": 1662056814.891612,
  90. "start_timestamp": 1662056812.373653,
  91. "exclusive_time": 0.824212,
  92. "description": "django.contrib.messages.middleware.MessageMiddleware.__call__",
  93. "op": "django.middleware",
  94. "span_id": "80d673bad31af4e4",
  95. "parent_span_id": "a22e198d0846f268",
  96. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  97. "tags": {
  98. "django.function_name": "django.utils.deprecation.MiddlewareMixin.__call__",
  99. "django.middleware_name": "django.contrib.messages.middleware.MessageMiddleware"
  100. },
  101. "hash": "ac1468d8e11a0553",
  102. "same_process_as_parent": true
  103. },
  104. {
  105. "timestamp": 1662056814.891578,
  106. "start_timestamp": 1662056812.374443,
  107. "exclusive_time": 0.274897,
  108. "description": "django.middleware.clickjacking.XFrameOptionsMiddleware.__call__",
  109. "op": "django.middleware",
  110. "span_id": "a14e7a100bb38e42",
  111. "parent_span_id": "80d673bad31af4e4",
  112. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  113. "tags": {
  114. "django.function_name": "django.utils.deprecation.MiddlewareMixin.__call__",
  115. "django.middleware_name": "django.middleware.clickjacking.XFrameOptionsMiddleware"
  116. },
  117. "hash": "d8681423cab4275f",
  118. "same_process_as_parent": true
  119. },
  120. {
  121. "timestamp": 1662056812.37452,
  122. "start_timestamp": 1662056812.374512,
  123. "exclusive_time": 0.008106,
  124. "description": "django.middleware.csrf.CsrfViewMiddleware.process_view",
  125. "op": "django.middleware",
  126. "span_id": "afda19b657a7e147",
  127. "parent_span_id": "a14e7a100bb38e42",
  128. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  129. "tags": {
  130. "django.function_name": "django.middleware.csrf.CsrfViewMiddleware.process_view",
  131. "django.middleware_name": "django.middleware.csrf.CsrfViewMiddleware"
  132. },
  133. "hash": "e853d2eb7fb9ebb0",
  134. "same_process_as_parent": true
  135. },
  136. {
  137. "timestamp": 1662056814.891412,
  138. "start_timestamp": 1662056812.37456,
  139. "exclusive_time": 18.571615,
  140. "description": "random",
  141. "op": "django.view",
  142. "span_id": "a296dfaaab5a030d",
  143. "parent_span_id": "a14e7a100bb38e42",
  144. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  145. "hash": "7ddf32e17a6ac5ce",
  146. "same_process_as_parent": true
  147. },
  148. {
  149. "timestamp": 1662056814.226488,
  150. "start_timestamp": 1662056812.37512,
  151. "exclusive_time": 1374.949933,
  152. "description": "connect",
  153. "op": "db",
  154. "span_id": "870ada8266466319",
  155. "parent_span_id": "a296dfaaab5a030d",
  156. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  157. "hash": "b640a0ce465fa2a4",
  158. "same_process_as_parent": true
  159. },
  160. {
  161. "timestamp": 1662056814.060528,
  162. "start_timestamp": 1662056813.747638,
  163. "exclusive_time": 312.890052,
  164. "description": "\n SELECT VERSION(),\n @@sql_mode,\n @@default_storage_engine,\n @@sql_auto_is_null,\n @@lower_case_table_names,\n CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL\n ",
  165. "op": "db",
  166. "span_id": "b428a5f9e5eaa034",
  167. "parent_span_id": "870ada8266466319",
  168. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  169. "hash": "3a91b85ea92a26b9",
  170. "same_process_as_parent": true
  171. },
  172. {
  173. "timestamp": 1662056814.226365,
  174. "start_timestamp": 1662056814.062837,
  175. "exclusive_time": 163.528204,
  176. "description": "SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED",
  177. "op": "db",
  178. "span_id": "9cc0393186cbbbf9",
  179. "parent_span_id": "870ada8266466319",
  180. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  181. "hash": "061710eb39a66089",
  182. "same_process_as_parent": true
  183. },
  184. {
  185. "timestamp": 1662056814.453033,
  186. "start_timestamp": 1662056814.22666,
  187. "exclusive_time": 226.372957,
  188. "description": "SELECT `books_book`.`id`, `books_book`.`title`, `books_book`.`author_id` FROM `books_book` ORDER BY `books_book`.`id` DESC LIMIT 1",
  189. "op": "db",
  190. "span_id": "abca1c35669c11f2",
  191. "parent_span_id": "a296dfaaab5a030d",
  192. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  193. "hash": "418e23c9bc52ee11",
  194. "same_process_as_parent": true
  195. },
  196. {
  197. "timestamp": 1662056814.63449,
  198. "start_timestamp": 1662056814.467057,
  199. "exclusive_time": 167.433024,
  200. "description": "SELECT `books_book`.`id`, `books_book`.`title`, `books_book`.`author_id` FROM `books_book` WHERE `books_book`.`id` = %s LIMIT 21",
  201. "op": "db",
  202. "span_id": "a6e7c330f656df7f",
  203. "parent_span_id": "a296dfaaab5a030d",
  204. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  205. "hash": "bd27e37a8171f153",
  206. "same_process_as_parent": true
  207. },
  208. {
  209. "timestamp": 1662056814.890386,
  210. "start_timestamp": 1662056814.63728,
  211. "exclusive_time": 253.106117,
  212. "description": "SELECT `books_book`.`id`, `books_book`.`title`, `books_book`.`author_id` FROM `books_book` ORDER BY `books_book`.`id` ASC LIMIT 1",
  213. "op": "db",
  214. "span_id": "857ee9ba7db8cd31",
  215. "parent_span_id": "a296dfaaab5a030d",
  216. "trace_id": "d64d5433cff94af4894f6305f9f6d4ea",
  217. "hash": "67396f739107b456",
  218. "same_process_as_parent": true
  219. }
  220. ],
  221. "start_timestamp": 1662056812.37251,
  222. "timestamp": 1662056814.891961,
  223. "title": "/books/random",
  224. "transaction": "/books/random",
  225. "transaction_info": {"source": "route"},
  226. "type": "transaction"
  227. }