src/dazzle_back/runtime/health_aggregator.py¶
Generated: 2026-03-30T04:38:47.355465+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Health Check Aggregator.
Aggregates health status from all system components: - Database connectivity - Event bus status - External API connections - Background workers - WebSocket connections
Emits health events for SSE streaming.
Key Exports¶
AggregateStatusComponentHealthSystemHealthHealthAggregatorcreate_database_checkcreate_event_bus_checkcreate_external_api_checkcreate_websocket_checktotal_componentsto_dictregisterunregistercheck_componentcheck_allget_lateststart_periodic_checksstop_periodic_checkscheckcheckcheck
Dependencies¶
Imports¶
__future__.annotationsasynciologgingtimecollections.abc.Callablecollections.abc.Coroutinedataclasses.dataclassdataclasses.fielddatetime.UTCdatetime.datetimeenum.StrEnumtyping.TYPE_CHECKINGtyping.Anyuuid.uuid4dazzle_back.runtime.ops_database.ComponentTypedazzle_back.runtime.ops_database.HealthCheckRecorddazzle_back.runtime.ops_database.HealthStatusdazzle_back.runtime.ops_database.OpsDatabasedazzle_back.events.bus.EventBusdazzle_back.events.envelope.EventEnvelope
Event Interactions¶
Emits: ops.health
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_health_aggregator_pg.pytests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.