fix(perception): correlate GC with active stages
This commit is contained in:
@@ -98,6 +98,13 @@ def test_gc_pause_telemetry_attributes_collection_to_active_stage() -> None:
|
||||
assert summary["event_count"] == 1
|
||||
assert summary["pipeline_attributed_event_count"] == 1
|
||||
assert summary["maximum_event"]["generation"] == 2
|
||||
assert summary["maximum_event"]["stage_id"] == "rolling"
|
||||
assert summary["maximum_event"]["sequence"] == 3928
|
||||
assert summary["maximum_event"]["trigger_stage_id"] == "rolling"
|
||||
assert summary["maximum_event"]["trigger_sequence"] == 3928
|
||||
assert summary["maximum_event"]["active_stages"] == [
|
||||
{
|
||||
"stage_id": "rolling",
|
||||
"sequence": 3928,
|
||||
"thread_name": "MainThread",
|
||||
}
|
||||
]
|
||||
assert summary["maximum_event"]["duration_ms"] >= 1.0
|
||||
|
||||
Reference in New Issue
Block a user