aeat.core.telemetry._tier module¶
Closed remote-telemetry tier enum.
Declared standalone (no dependency on config) so
Settings can import it without a circular import, per
aeat-architecture-boundaries’s closed-value-set discipline (every closed
axis is a StrEnum declared in core/).
See also
TelemetryTierPublic facade export of the closed remote-telemetry tier enum.
telemetry_emit_permitted()Consent gate that interprets the tier for each attempted emission.
SettingsDeployment configuration carrying the selected telemetry tier.
- class TelemetryTier(*values)[source]¶
Bases:
StrEnumThe closed set of remote-telemetry emission tiers.
- Members:
- OFF: No remote emission under any circumstances, regardless of the
deployment opt-in flag or any per-invocation acknowledgement. This is the default and only tier a fresh deployment starts at.
- CRASH_ONLY: Only outcome/error counters (
succeeded,error_kind) are remote-eligible; timing data is never transmitted at this tier even when a metric’s schema entry marks a timing
remote_allowed.- FULL: Counters and timing percentiles are both remote-eligible,
subject to each individual metric key’s own
remote_allowed/remote_alloweddeclaration.
- OFF¶
- CRASH_ONLY¶
- FULL¶