Repository navigation
Commit 776e392
authored
fix: Fix queries/minute calculation in Services Dashboard (#1457)
Closes HDX-2973
# Summary
This PR updates the queries on the services dashboard to
1. Fix the queries/min calculation, which was previously just the total number of queries
2. Support materialized views in the enterprise edition by separating aggregations from conversions to rates and millisecond values.
## Queries/Min
Before:
<img width="779" height="100" alt="Screenshot 2025-12-09 at 11 28 00 AM" src="https://github.com/user-attachments/assets/52f2581f-5af4-4528-bdb6-5505e5ed7709" />
<img width="1511" height="842" alt="Screenshot 2025-12-09 at 11 27 17 AM" src="https://github.com/user-attachments/assets/94ea121d-02ce-4460-a1c9-cc6f9e9cd8d3" />
After:
<img width="776" height="129" alt="Screenshot 2025-12-09 at 11 28 27 AM" src="https://github.com/user-attachments/assets/5c23bd73-23ea-4d44-a2e9-e4f01b93dc3c" />
<img width="1511" height="787" alt="Screenshot 2025-12-09 at 11 28 33 AM" src="https://github.com/user-attachments/assets/9c8d1932-f1ac-49bc-b122-7229cd8ad360" />1 parent b564a36 commit 776e392
3 files changed
Lines changed: 87 additions & 26 deletions
File tree
- .changeset
- packages/app/src
- components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | | - | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
635 | 637 | | |
636 | 638 | | |
637 | 639 | | |
| |||
803 | 805 | | |
804 | 806 | | |
805 | 807 | | |
| 808 | + | |
806 | 809 | | |
807 | | - | |
| 810 | + | |
808 | 811 | | |
809 | | - | |
| 812 | + | |
810 | 813 | | |
811 | 814 | | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
812 | 819 | | |
813 | 820 | | |
814 | 821 | | |
| |||
1090 | 1097 | | |
1091 | 1098 | | |
1092 | 1099 | | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
1093 | 1106 | | |
1094 | 1107 | | |
1095 | 1108 | | |
| |||
1099 | 1112 | | |
1100 | 1113 | | |
1101 | 1114 | | |
| 1115 | + | |
1102 | 1116 | | |
1103 | 1117 | | |
1104 | 1118 | | |
1105 | 1119 | | |
1106 | 1120 | | |
1107 | | - | |
| 1121 | + | |
1108 | 1122 | | |
| 1123 | + | |
1109 | 1124 | | |
1110 | | - | |
1111 | 1125 | | |
1112 | 1126 | | |
1113 | | - | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
1114 | 1132 | | |
1115 | | - | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
1116 | 1144 | | |
1117 | 1145 | | |
1118 | 1146 | | |
1119 | 1147 | | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
1120 | 1152 | | |
1121 | | - | |
| 1153 | + | |
| 1154 | + | |
1122 | 1155 | | |
1123 | | - | |
1124 | 1156 | | |
1125 | 1157 | | |
1126 | 1158 | | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
| 1159 | + | |
1131 | 1160 | | |
1132 | 1161 | | |
1133 | 1162 | | |
| |||
1144 | 1173 | | |
1145 | 1174 | | |
1146 | 1175 | | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
1147 | 1182 | | |
1148 | 1183 | | |
1149 | 1184 | | |
| |||
1158 | 1193 | | |
1159 | 1194 | | |
1160 | 1195 | | |
1161 | | - | |
| 1196 | + | |
1162 | 1197 | | |
| 1198 | + | |
1163 | 1199 | | |
1164 | | - | |
1165 | 1200 | | |
1166 | 1201 | | |
1167 | | - | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
1168 | 1207 | | |
1169 | | - | |
1170 | | - | |
| 1208 | + | |
1171 | 1209 | | |
1172 | 1210 | | |
1173 | | - | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
1174 | 1216 | | |
1175 | | - | |
| 1217 | + | |
1176 | 1218 | | |
1177 | 1219 | | |
1178 | 1220 | | |
1179 | 1221 | | |
1180 | | - | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
1181 | 1227 | | |
1182 | | - | |
| 1228 | + | |
1183 | 1229 | | |
1184 | 1230 | | |
1185 | 1231 | | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
1186 | 1236 | | |
1187 | 1237 | | |
1188 | 1238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| 103 | + | |
102 | 104 | | |
103 | | - | |
104 | | - | |
105 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
| |||
119 | 125 | | |
120 | 126 | | |
121 | 127 | | |
122 | | - | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| |||
0 commit comments