Expand description
Shared observability primitives for ATM ecosystem tools.
AH.1 scope:
Logger+emit()with JSONL rotationLogConfigwith environment-driven defaults- spool write/merge semantics
- socket error-code constants for the
log-eventcontract
Structs§
- File
Otel Exporter - LogConfig
- Logger
- Otel
Config - Otel
Record - Span
RefV1 - A tracing span reference captured at the time a
LogEventV1is emitted.
Enums§
Constants§
- DEFAULT_
MAX_ BYTES - DEFAULT_
MAX_ EVENT_ BYTES - DEFAULT_
MAX_ FILES - DEFAULT_
OTEL_ INITIAL_ BACKOFF_ MS - DEFAULT_
OTEL_ MAX_ BACKOFF_ MS - DEFAULT_
OTEL_ MAX_ RETRIES - DEFAULT_
QUEUE_ CAPACITY - DEFAULT_
RETENTION_ DAYS - SOCKET_
ERROR_ INTERNAL_ ERROR - SOCKET_
ERROR_ INVALID_ PAYLOAD - SOCKET_
ERROR_ VERSION_ MISMATCH
Traits§
Functions§
- export_
otel_ best_ effort - Export to OTel without allowing exporter failures to fail the caller.
- export_
otel_ best_ effort_ from_ path - Export a single event to OTel using default pipeline settings (fail-open).
- redact_
event - Apply canonical redaction rules to a logging event.
- spool_
file_ name