Browse Source

feat(ui): Adding http.method to the backend performance landing page (#26058)

On the performance landing page we currently group transactions together regardless of http.method. But a GET and POST can be wildly different in terms of performance & functionality.

* Added http method to query and header
* Rearranging performance table headers
edwardgou-sentry 3 years ago
parent
commit
d3d0af8e12

+ 3 - 2
static/app/views/performance/data.tsx

@@ -328,8 +328,9 @@ function generateBackendPerformanceEventView(
     fields: [
       'key_transaction',
       'transaction',
-      'transaction.op',
       'project',
+      'transaction.op',
+      'http.method',
       'tpm()',
       'p50()',
       'p95()',
@@ -447,8 +448,8 @@ function generateFrontendOtherPerformanceEventView(
     fields: [
       'key_transaction',
       'transaction',
-      'transaction.op',
       'project',
+      'transaction.op',
       'tpm()',
       'p50(transaction.duration)',
       'p75(transaction.duration)',

+ 3 - 2
static/app/views/performance/landing/data.tsx

@@ -12,8 +12,8 @@ export const FRONTEND_PAGELOAD_COLUMN_TITLES = [
 
 export const FRONTEND_OTHER_COLUMN_TITLES = [
   'transaction',
-  'operation',
   'project',
+  'operation',
   'tpm',
   'p50()',
   'p75()',
@@ -24,8 +24,9 @@ export const FRONTEND_OTHER_COLUMN_TITLES = [
 
 export const BACKEND_COLUMN_TITLES = [
   'transaction',
-  'operation',
   'project',
+  'operation',
+  'http method',
   'tpm',
   'p50',
   'p95',