docs(observability): record completed SLO study and incident diagnostics
This commit is contained in:
@@ -36,7 +36,13 @@ def main():
|
||||
origin = samples[0]["at"]
|
||||
summaries = []
|
||||
for phase in report["phases"]:
|
||||
rows = [r for r in requests if r["phase"] == phase["name"]]
|
||||
# Labels remain unchanged while orchestration waits between holds.
|
||||
# Attribute writes by their actual start time inside the measured hold.
|
||||
rows = [
|
||||
r
|
||||
for r in requests
|
||||
if phase["start"] <= float(r["timestamp"]) < phase["end"]
|
||||
]
|
||||
successful = [
|
||||
float(r["seconds"]) for r in rows if r["status"] == "201"
|
||||
]
|
||||
@@ -116,6 +122,7 @@ def main():
|
||||
"max": max(gap),
|
||||
},
|
||||
"client_quantile_method": "nearest rank of successful end-to-end writes; not histogram interpolation",
|
||||
"phase_assignment": "request start timestamp inside measured hold; orchestration gaps excluded",
|
||||
"phases": summaries,
|
||||
"incidents": report["incidents"],
|
||||
"firing_intervals_unix_seconds": intervals,
|
||||
|
||||
Reference in New Issue
Block a user