We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f4c2e6 commit 1f0a145Copy full SHA for 1f0a145
krkn/prometheus/collector.py
@@ -68,7 +68,9 @@ def evaluate_slos(
68
69
passed = slo_passed(response)
70
if passed is None:
71
- logging.warning("SLO '%s' query returned no data; excluding from score.", name)
+ # Absence of data indicates the condition did not trigger; treat as pass.
72
+ logging.debug("SLO '%s' query returned no data; assuming pass.", name)
73
+ results[name] = True
74
else:
75
results[name] = passed
76
except Exception as exc:
0 commit comments