Browse Source

fix(profiling): Remove aggregate fields from profiles events table (#57902)

This was showing aggregate fields on mobile platforms and also breaking
the profile id links because it no longer was returning the project.
Tony Xiao 1 year ago
parent
commit
0e724df1fa
1 changed files with 9 additions and 1 deletions
  1. 9 1
      static/app/views/profiling/profileSummary/content.tsx

+ 9 - 1
static/app/views/profiling/profileSummary/content.tsx

@@ -133,7 +133,15 @@ export function getProfilesTableFields(platform: Project['platform']) {
   return DEFAULT_FIELDS;
 }
 
-const MOBILE_FIELDS: ProfilingFieldType[] = [...ALL_FIELDS];
+const MOBILE_FIELDS: ProfilingFieldType[] = [
+  'profile.id',
+  'timestamp',
+  'release',
+  'device.model',
+  'device.classification',
+  'device.arch',
+  'transaction.duration',
+];
 const DEFAULT_FIELDS: ProfilingFieldType[] = [
   'profile.id',
   'timestamp',