Browse Source

Do not return a stream health overview if it is zero

pull/1907/head
Gabe Kangas 3 years ago
parent
commit
ed0e376bae
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 2
      metrics/healthOverview.go

2
metrics/healthOverview.go

@ -30,7 +30,7 @@ func generateStreamHealthOverview() { @@ -30,7 +30,7 @@ func generateStreamHealthOverview() {
}
pct := getClientErrorHeathyPercentage()
if pct == -1 {
if pct < 1 {
metrics.streamHealthOverview = nil
return
}

Loading…
Cancel
Save