Expand description
Bounded in-memory ring buffer of recorded spans.
Mirrors Python’s CogneeSpanExporter storage model
(cognee/modules/observability/tracing.py): per-trace buckets, LRU
eviction once max_traces is exceeded, no per-span eviction beyond a
safety cap.
Structs§
- Buffer
Config - Configurable caps for the ring buffer.
- Buffer
Stats - Lightweight stats surfaced alongside the span list.
- Recorded
Span - A single span snapshot, frozen at the moment its tracing span closed.
- Span
Buffer - Bounded in-memory span buffer.
- Trace
Summary - Per-trace summary surfaced via
/api/v1/activity/spans.
Enums§
- Span
Status - Span status as exported via the wire shape.