Commit 60b357e
authored
fix(dashboards): populate empty dashboard panels + tpm-metrics service + dep fixes
- Build out Network Performance Health dashboard (8 panels: stat + timeseries)
covering active nodes, FL rounds, accuracy, loss, round duration, round rate
- Build out Consensus Trust Monitoring dashboard (9 panels: stat + timeseries)
covering tpm trust chain, cert counts, node trust scores, message signing/
verification rates, failure rates, latency, and cert expiry
- Copy both dashboards into grafana/provisioning/dashboards/ so they are
auto-provisioned in all docker-compose environments
- docker-compose.full.yml: add tpm-metrics exporter service (port 9091) with
health check, tpm-certs named volume, and dependency on backend
- requirements.txt + requirements-backend.txt: pin flwr==1.7.0 (stable release),
numpy==1.26.4 (compatibility with scipy/sklearn)
- sovereignmap_production_backend_v2.py: run Flask metrics in daemon thread so
Flower stays on main thread (required for signal handler registration)1 parent 9e279c9 commit 60b357e
8 files changed
Lines changed: 2244 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 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 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
159 | 187 | | |
160 | 188 | | |
161 | 189 | | |
| |||
217 | 245 | | |
218 | 246 | | |
219 | 247 | | |
| 248 | + | |
| 249 | + | |
220 | 250 | | |
221 | 251 | | |
222 | 252 | | |
| |||
0 commit comments