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

TelemetryTier

Public facade export of the closed remote-telemetry tier enum.

telemetry_emit_permitted()

Consent gate that interprets the tier for each attempted emission.

Settings

Deployment configuration carrying the selected telemetry tier.

class TelemetryTier(*values)[source]

Bases: StrEnum

The 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_allowed declaration.

OFF
CRASH_ONLY
FULL