Add `unknown`-state predicate services

Based on the new peer relationship
This commit is contained in:
Michael Klein 2022-10-11 11:20:14 +02:00
parent 9624ecadb0
commit fb306b39d8
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ export default {
warning: (item, value) => item.MeshStatus === value,
critical: (item, value) => item.MeshStatus === value,
empty: (item, value) => item.MeshChecksTotal === 0,
unknown: (item) => item.peerIsFailing || item.isZeroCountButPeered,
},
instance: {
registered: (item, value) => item.InstanceCount > 0,