Expand description
Public telemetry facade for runtime crates and external callers.
Structs§
- Telemetry
Span - In-memory telemetry span that writes line-delimited JSON events when enabled.
Constants§
- MAX_
COMMAND_ FIELD_ CHARS - Max number of chars retained for telemetry command-like fields.
- MAX_
TEXT_ FIELD_ CHARS - Max number of chars retained for telemetry message-like fields.
- TELEMETRY_
FILE_ ENV - Environment variable that enables telemetry writing when set to a file path.
- TELEMETRY_
INCLUDE_ ARGS_ ENV - Environment variable that allows raw argv capture in telemetry payloads.
Functions§
- exit_
code_ kind - Stable exit-kind mapping used in telemetry records.
- truncate_
chars - Truncate a text field to a stable char budget.