Add stream health overview collection + apis
This commit is contained in:
8
models/streamHealth.go
Normal file
8
models/streamHealth.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package models
|
||||
|
||||
// StreamHealthOverview represents an overview of the current stream health.
|
||||
type StreamHealthOverview struct {
|
||||
Healthy bool `json:"healthy"`
|
||||
HealthyPercentage int `json:"healthPercentage"`
|
||||
Message string `json:"message"`
|
||||
}
|
||||
Reference in New Issue
Block a user