docs/everruns-maple-runbook.md
This is the fastest path to use the new Everruns telemetry export now.
It sends f ai everruns traces to:
When enabled, Flow exports:
everruns.tool_call spans for each seq_* tool executioneverruns.tool_call_requestedeverruns.output_message_completedeverruns.turn_failedseqd is running and reachable at your socket (/tmp/seqd.sock by default).http://127.0.0.1:9300/api by default).From ~/code/flow, set the endpoints + keys:
f env set SEQ_EVERRUNS_MAPLE_LOCAL_ENDPOINT=http://ingest.maple.localhost/v1/traces
f env set SEQ_EVERRUNS_MAPLE_LOCAL_INGEST_KEY=maple_pk_local_xxx
f env set SEQ_EVERRUNS_MAPLE_HOSTED_ENDPOINT=https://ingest.1focus.ai/v1/traces
f env set SEQ_EVERRUNS_MAPLE_HOSTED_INGEST_KEY=maple_pk_hosted_xxx
Optional tuning:
f env set SEQ_EVERRUNS_MAPLE_QUEUE_CAPACITY=4096
f env set SEQ_EVERRUNS_MAPLE_MAX_BATCH_SIZE=128
f env set SEQ_EVERRUNS_MAPLE_FLUSH_INTERVAL_MS=50
f env set SEQ_EVERRUNS_MAPLE_CONNECT_TIMEOUT_MS=400
f env set SEQ_EVERRUNS_MAPLE_REQUEST_TIMEOUT_MS=800
For optimized mirror (remote ClickHouse + durable local spool), also set:
f env set SEQ_CH_MODE=mirror
f env set SEQ_CH_MEM_PATH=~/.config/flow/rl/seq_mem.jsonl
f env set SEQ_CH_LOG_PATH=~/.config/flow/rl/seq_trace.jsonl
Use f env run so runtime sees configured values:
f env run -- f ai everruns "open Safari and take a screenshot"
If you already export envs another way, this also works:
f ai everruns "open Safari and take a screenshot"
On startup, if telemetry is enabled, Flow prints:
maple dual-ingest telemetry enabled
In Maple (local and hosted), filter by:
service.name = seq-everruns-bridgeLook for span names:
everruns.tool_calleverruns.tool_call_requestedeverruns.output_message_completedinvalid SEQ_EVERRUNS_MAPLE_* configuration
/v1/traces.f env run -- ... (or equivalent env injection).