Commit 935900c
fix(performance): Fix EAP transaction summary method filter and duration breakdown chart (#108483)
Fix two issues with the EAP transaction summary page and improve the
duration breakdown chart.
## Method filter mismatch
When the `performance-transaction-summary-eap` flag is enabled,
dashboard widget links filter by `request.method` (the EAP field name),
but the transaction summary search bar didn't recognize it as a valid
key. This caused an "Invalid key" error when navigating from dashboards.
Now the search bar accepts `request.method` when EAP is enabled, and the
dashboard link uses the correct field name based on the flag.
## Duration breakdown chart
The EAP version of the duration breakdown chart now matches the regular
(non-EAP) version:
- removed the extra p90 percentile
- uses high-fidelity time intervals
- aliases series names to match the standard format (e.g. `p50()`
instead of `p50(span.duration)`)
- persists legend selection via the `unselectedSeries` URL query
parameter.
Note that this is now a line chart instead of an area chart. As per our
[Choosing The Plot
Type](https://sentry.sentry.io/stories/product/views/dashboards/widgets/timeserieswidget/timeserieswidgetvisualization/#choosing-the-plot-type)
guide:
> Only use area charts if you want to plot multiple series and those
series represent components of a total. For example, area charts are a
good choice to show time spent, broken down by span operation. They are
not a good choice for plotting a single duration time series. Area
charts should be stacked!
## Screens
Old Transaction Summary:
<img width="1223" height="296" alt="Screenshot 2026-02-23 at 10 53 34"
src="https://github.com/user-attachments/assets/2608f2e0-b2ac-40fb-a53d-a0a400b46489"
/>
EAP version:
<img width="1225" height="312" alt="Screenshot 2026-02-23 at 10 49 01"
src="https://github.com/user-attachments/assets/47d90d51-bb87-40a6-a7ff-4a63b31b987a"
/>
Closes DAIN-1226
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 222a6a8 commit 935900c
File tree
3 files changed
+37
-5
lines changed- static/app
- components/performance
- views
- dashboards/datasetConfig
- performance/transactionSummary/transactionOverview
3 files changed
+37
-5
lines changedLines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
81 | 89 | | |
82 | 90 | | |
83 | | - | |
| 91 | + | |
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
447 | 451 | | |
448 | 452 | | |
449 | 453 | | |
| |||
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| 79 | + | |
76 | 80 | | |
77 | 81 | | |
| 82 | + | |
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
| |||
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
107 | | - | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
| 116 | + | |
112 | 117 | | |
113 | 118 | | |
114 | 119 | | |
| |||
122 | 127 | | |
123 | 128 | | |
124 | 129 | | |
125 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
126 | 135 | | |
127 | 136 | | |
128 | 137 | | |
129 | 138 | | |
130 | 139 | | |
131 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
132 | 152 | | |
133 | 153 | | |
134 | 154 | | |
| |||
0 commit comments