mirror of https://github.com/prometheus/prometheus
Merge pull request #14898 from prometheus/fix-targets-page-coloring
Fix border color for target pools with one target that is failingpull/14519/merge
commit
b93ed7bd17
|
@ -53,7 +53,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 New Issue