- Notifications
You must be signed in to change notification settings - Fork927
Commit5304b4e
authored
feat: add connection statistics for workspace agents (#6469)
* fix: don't make session counts cumulativeThis made for some weird tracking... we want the point-in-timenumber of counts!* Add databasefake query for getting agent stats* Add deployment stats endpoint* The query... works?!?* Fix aggregation query* Select from multiple tables instead* Fix continuous stats* Increase period of stat refreshes* Add workspace counts to deployment stats* fmt* Add a slight bit of responsiveness* Fix template version editor overflow* Add refresh button* Fix font family on button* Fix latest stat being reported* Revert agent conn stats* Fix linting error* Fix tests* Fix gen* Fix migrations* Block on sending stat updates* Add test fixtures* Fix response structure* make gen1 parent9d40d2f commit5304b4e
File tree
43 files changed
+1786
-170
lines changed- agent
- coderd
- apidoc
- database
- dbauthz
- dbfake
- dbgen
- migrations
- testdata/fixtures
- queries
- metricscache
- rbac
- codersdk
- docs/api
- site/src
- api
- components
- Dashboard
- DeploymentBanner
- Icons
- TemplateVersionEditor
- WorkspaceStatusBadge
- pages/TemplateVersionPage/TemplateVersionEditorPage
- testHelpers
- xServices
- auth
- deploymentStats
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+1786
-170
lines changedLines changed: 21 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| |||
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
63 |
| - | |
| 64 | + | |
64 | 65 |
| |
65 | 66 |
| |
66 | 67 |
| |
| |||
122 | 123 |
| |
123 | 124 |
| |
124 | 125 |
| |
125 |
| - | |
126 |
| - | |
127 |
| - | |
| 126 | + | |
128 | 127 |
| |
129 | 128 |
| |
130 | 129 |
| |
| |||
159 | 158 |
| |
160 | 159 |
| |
161 | 160 |
| |
| 161 | + | |
162 | 162 |
| |
163 |
| - | |
164 |
| - | |
165 |
| - | |
166 |
| - | |
167 | 163 |
| |
168 | 164 |
| |
169 | 165 |
| |
| |||
905 | 901 |
| |
906 | 902 |
| |
907 | 903 |
| |
| 904 | + | |
908 | 905 |
| |
909 | 906 |
| |
| 907 | + | |
910 | 908 |
| |
911 | 909 |
| |
| 910 | + | |
912 | 911 |
| |
913 | 912 |
| |
914 | 913 |
| |
| |||
1012 | 1011 |
| |
1013 | 1012 |
| |
1014 | 1013 |
| |
| 1014 | + | |
1015 | 1015 |
| |
1016 | 1016 |
| |
1017 | 1017 |
| |
| |||
1210 | 1210 |
| |
1211 | 1211 |
| |
1212 | 1212 |
| |
1213 |
| - | |
1214 |
| - | |
1215 | 1213 |
| |
1216 | 1214 |
| |
1217 |
| - | |
1218 |
| - | |
1219 |
| - | |
1220 |
| - | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
1221 | 1219 |
| |
1222 | 1220 |
| |
1223 |
| - | |
1224 |
| - | |
| 1221 | + | |
1225 | 1222 |
| |
1226 | 1223 |
| |
1227 | 1224 |
| |
| |||
1270 | 1267 |
| |
1271 | 1268 |
| |
1272 | 1269 |
| |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
1273 | 1277 |
| |
1274 | 1278 |
| |
1275 |
| - | |
1276 |
| - | |
| 1279 | + | |
1277 | 1280 |
| |
1278 | 1281 |
| |
1279 | 1282 |
| |
|
Lines changed: 69 additions & 37 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 |
| |
73 | 76 |
| |
74 | 77 |
| |
| |||
78 | 81 |
| |
79 | 82 |
| |
80 | 83 |
| |
| 84 | + | |
| 85 | + | |
| 86 | + | |
81 | 87 |
| |
82 | 88 |
| |
83 | 89 |
| |
| |||
112 | 118 |
| |
113 | 119 |
| |
114 | 120 |
| |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
115 | 134 |
| |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
152 | 184 |
| |
153 | 185 |
| |
154 | 186 |
| |
|
0 commit comments
Comments
(0)