symfonic.core.observability.metrics_quiescence¶
metrics_quiescence ¶
Process-local callback barrier; durable epoch authority lives in the host.
MetricsQuiescenceMixin ¶
close_tenant_admission ¶
Synchronously deny new callbacks and attempt bindings before waiting.
Source code in src/symfonic/core/observability/metrics_quiescence.py
quiesce_tenant
async
¶
Close admission, wait callbacks and sink writes, then purge this tenant.
Cancellation leaves admission closed. Retry must finish the wait and purge before the owning worker can acknowledge a durable epoch.
Source code in src/symfonic/core/observability/metrics_quiescence.py
guarded_binding ¶
Keep validation and synchronous attribution atomic with admission close.
Source code in src/symfonic/core/observability/metrics_quiescence.py
guarded_callback ¶
Cover the complete callback, including awaits in budget fan-out.