Commit d14a0f9
authored
ref(trends): Impose strict top event limit (#49098)
This is a temporary fix to select top 8 events. For each transaction
name we're getting two timeseries (trend_function and count) of 1 hour
bucket for 14 days (the default stats period) which amounts to
1*24*14*2=672 data points. I'm picking 8 events very conservatively here
until I can either paginate the query or parallelize it.1 parent 0c9ab30 commit d14a0f9
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
170 | | - | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
0 commit comments