Commit 513b5e0
committed
feat: add datacenter field to actors list row (#3018)
Closes FRONT-793
### TL;DR
Added the ability to display datacenter information for actors in the actors list.
### What changed?
- Added `actorDatacenterQueryOptions` to the default data provider to fetch datacenter information for actors
- Added a new `showDatacenter` filter option in the actor filters context
- Created a new `Datacenter` component in the actors list row to display the datacenter information
- Extended the `Actor` type to include an optional `datacenter` field
- Made the "showDestroyed" filter available for both "engine" and "cloud" app types
### How to test?
1. Open the actors list view
2. Enable the "Show Actors Datacenter" filter option
3. Verify that datacenter information appears under the actor ID for actors that have datacenter data
4. Verify that actors without datacenter data show a "-" indicator
5. Disable the filter and confirm the datacenter information is hidden
### Why make this change?
This change improves observability by allowing users to see which datacenter each actor is running in. This information is particularly valuable in multi-datacenter deployments where understanding the physical location of actors can help with troubleshooting, performance analysis, and capacity planning.1 parent f25aad6 commit 513b5e0
File tree
4 files changed
+40
-1
lines changed- frontend/src
- app/data-providers
- components/actors
- queries
4 files changed
+40
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
242 | 248 | | |
243 | 249 | | |
244 | 250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
113 | 139 | | |
114 | 140 | | |
115 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments