Expand description
Observability. The default build ships three dependency-free things: a hand-rolled JSON-lines logger to stderr, a tiny health surface, and W3C trace-context propagation. Only the heavier surfaces (metrics, OTLP export) are feature-gated. RFC 0010.
Invariant: stdout is the agent’s result; stderr is all telemetry.
Modules§
- health
- Health / liveness. RFC 0010 §health; RFC 0016 §10 (the fleet-liveness contract reading).
- log
- Hand-rolled JSON-lines logger. ~150 lines reusing the
serde_jsonserializer — deliberately nottracing(its implicit async span context is moot for a processes-plus-threads design, and the process tree gives us correlation for free). RFC 0010 §default-logging. - metrics
- Process-local counters → Prometheus text. RFC 0010 §metrics. [feature: metrics]
- otel
- OTLP span export with the GenAI semantic conventions. RFC 0010. [feature: otel]
- trace
- W3C Trace Context propagation. RFC 0010 §context-propagation.