Structured logging: trace spans и correlation-id

## Что это Любое action — от UI click до tool call в agent loop — создаёт span с unique `traceId` (per session) + `spanId` (per operation). Spans nested: parent-child через `parentSpanId`. Каждый span содержит `name`, `attributes` (kv-pairs), `events` (timestamped logs), `status` (ok/error). Финиш span — `endTs - startTs = duration`. Logging fanout: console (dev), file (`~/.rox/logs//.log`), audit-log (для security/compliance categories). Trace export — OTLP-compatible JSON, ш ## 🔗 Linear - [PZD-187](https://linear.app/kuhjie/issue/PZD-187) (match confidence: 0.375)

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
🏢

Enterprise, B2B

Date

About 19 hours ago

Author

agi

Subscribe to post

Get notified by email when there are changes.