Added fallback to default dashboard in case Prometheus is not accesible (#1302)

This commit is contained in:
Alex
2021-12-07 15:39:50 -06:00
committed by GitHub
parent 1e59f131e8
commit bf126d3a84
10 changed files with 141 additions and 65 deletions

View File

@@ -42,6 +42,9 @@ type AdminInfoResponse struct {
// objects
Objects int64 `json:"objects,omitempty"`
// prometheus not ready
PrometheusNotReady bool `json:"prometheusNotReady,omitempty"`
// servers
Servers []*ServerProperties `json:"servers"`