mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge pull request #16068 from prometheus/fix/target-health-highlighting
Fix health color for target pools with single target that is down
This commit is contained in:
commit
e837ac9fe2
|
@ -54,7 +54,7 @@ type ScrapePools = {
|
|||
};
|
||||
|
||||
const poolPanelHealthClass = (pool: ScrapePool) =>
|
||||
pool.count > 1 && pool.downCount === pool.count
|
||||
pool.count > 0 && pool.downCount === pool.count
|
||||
? panelClasses.panelHealthErr
|
||||
: pool.downCount >= 1
|
||||
? panelClasses.panelHealthWarn
|
||||
|
|
Loading…
Reference in a new issue