Browse Source

feat(profiling): default sort by p99() (#43176)

## Summary
We're changing the profiling transactions table by `-p99()` in an effort
to reduce clicks into profiles that potentially highlight problem areas.

In future our sort should also take in consideration of `count()`
similar to `user misery` since.

See also; https://github.com/getsentry/team-profiling/issues/138
Elias Hussary 2 years ago
parent
commit
04058472a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/views/profiling/content.tsx

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

@@ -54,7 +54,7 @@ function ProfilingContent({location, router}: ProfilingContentProps) {
   const query = decodeScalar(location.query.query, '');
 
   const sort = formatSort<FieldType>(decodeScalar(location.query.sort), FIELDS, {
-    key: 'count()',
+    key: 'p99()',
     order: 'desc',
   });