Coverage for src / lexigram / contracts / monitor / projection_tier.py: 0%
7 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-08-15 18:57 +0800
« prev ^ index » next coverage.py v7.13.5, created at 2026-08-15 18:57 +0800
1"""Projection tier enumeration for alert routing."""
3from __future__ import annotations
5from enum import Enum
8class ProjectionTier(str, Enum):
9 """Alert routing tier for a projection or SLO.
11 Attributes:
12 P0_PAGE: Page on-call immediately (PagerDuty, etc.).
13 P1_BUSINESS_HOURS: Route to Slack during business hours;
14 queue outside business hours.
15 P2_DIGEST: Accumulate in a buffer and flush as a weekly digest.
16 """
18 P0_PAGE = "p0_page"
19 P1_BUSINESS_HOURS = "p1_business_hours"
20 P2_DIGEST = "p2_digest"
23__all__ = ["ProjectionTier"]