fix(observability): LegacyUnhealthy must not fire while up{job=legacy-api} is absent (WP-15 supplies it)
This commit is contained in:
1 parent
af37d19e2a
commit
b5119054be
1 file changed
+2
-1
@@ -157,7 +157,8 @@ groups:
|
|||||||
model:
|
model:
|
||||||
refId: A
|
refId: A
|
||||||
instant: true
|
instant: true
|
||||||
expr: (count(up{job="legacy-api"} == 1) or vector(0)) < bool 2
|
expr: count(up{job="legacy-api"} == 1) < bool 2
|
||||||
|
# no series until WP-15 ships Alloy on the legacy VMs: absent -> NoData -> OK (the `or vector(0)` form fired continuously)
|
||||||
- refId: C
|
- refId: C
|
||||||
datasourceUid: __expr__
|
datasourceUid: __expr__
|
||||||
model:
|
model:
|
||||||
|
|||||||
Reference in new issue
Block a user