fix(recovery): align host112 cold-start metric scope
This commit is contained in:
@@ -117,6 +117,17 @@ def _evidence_refs() -> dict[str, str]:
|
||||
}
|
||||
|
||||
|
||||
def test_cold_start_source_queries_include_host112_scope() -> None:
|
||||
expected_scope = 'scope="110_112_120_121_188"'
|
||||
|
||||
assert reconcile.AGENT99_COLD_START_METRIC_SCOPE == "110_112_120_121_188"
|
||||
for name, query in reconcile._COLD_START_QUERIES.items():
|
||||
if name == "firing_blocking_alerts":
|
||||
continue
|
||||
assert expected_scope in query
|
||||
assert 'scope="110_120_121_188"' not in query
|
||||
|
||||
|
||||
def test_cold_start_source_resolution_allows_warning_only_but_requires_fresh_zero(
|
||||
monkeypatch,
|
||||
) -> None:
|
||||
|
||||
Reference in New Issue
Block a user