Is my agent stuck right now?
tp.watch.otlp() receives traces from any OTLP exporter. This monitor keeps a running note per
trace with lm_fold and flags agents that loop or make no headway:
- Steps stream in as their spans complete.
emit="update"emits the fold’s state after every step, not only when the trace ends. Rows havefinal=Falseuntil then, and aversionthat goes up with each update..events()yields every row as it’s produced, plus atp.Closedevent when a group ends.
emit="update" works on lm_reduce too, and emit=tp.every(n) updates after every n rows. In
batch it changes nothing, and a reduce’s final row always comes from a full reduce at close.
Try it on stored runs
tp.replay plays a stored source back as a stream, so you can build a live pipeline without a
live system. Harbor steps are keyed by trial rather than trace:
Keep pipelines running on a server
tracepress serve holds one live stream of traces and runs registered pipelines on it
continuously. Any client can stream traces in, register a pipeline, or listen:
Next steps
CLI
Every
tracepress serve option.Load traces
Which OpenTelemetry conventions become steps.