feat(grafana): add fleet health dashboard - #165
mislayming wants to merge 2 commits into
Conversation
|
#165 这个方向可以。新增一个独立的
这样作为 troubleshooting dashboard 是有价值的。 但这个 PR 现在不能直接进,因为它同时带了 #164 的内容。请先等 #164 合并后 rebase,或者重新拆一个干净分支,只保留 dashboard 相关文件:
其它 alert pipeline、device offline metric、migration、rule preset 变更应该都属于 #164,不要混在这个 PR 里。 如果要把体验再做完整一点,后续可以单独加一个入口:Monitor 页继续打开 |
|
Reviewed. I would not merge this PR in its current form. The Grafana fleet dashboard itself looks fine as an additive panel, but this branch also includes the alert/device-offline changes from #164. Please split or rebase this PR so it contains only the dashboard files. We should decide/fix #164 separately before taking these dashboard changes. |
Summary
Ongrid Fleet Health (Troubleshooting)Grafana dashboardDependency
device_last_seen_timestamp_seconds{device_id}metric added there.Tests
jq empty internal/manager/biz/grafana/dashboards/fleet-health.json deploy/install/grafana/provisioning/dashboards/json/fleet-health.json deploy/grafana/provisioning/dashboards/json/fleet-health.jsongo test ./internal/manager/biz/grafana ./internal/pkg/grafanaAuthor confirmation