BOUNDARY_SPANS
@forge/monorepo / backend/src / BOUNDARY_SPANS
Variable: BOUNDARY_SPANS
constBOUNDARY_SPANS:object
Defined in: backend/src/telemetry/spans.ts:69
The spans that are not run events.
The request and the claim have no event type — a run event exists once there is a run, and these happen before or around that. Listed here so the full set of span names has one home; a name invented at a call site is a name nothing can check.
Type Declaration
admission
readonlyadmission:"run.admit"="run.admit"
Quota and authorization, before anything is claimed or enqueued.
approvalWait
readonlyapprovalWait:"hitl.approval"="hitl.approval"
Waiting for a human. Often the longest span in a trace, and the one an operator most wants to see.
claim
readonlyclaim:"run.claim"="run.claim"
The consumer side. Where the traceparent is read back and the trace continues.
enqueue
readonlyenqueue:"run.enqueue"="run.enqueue"
The producer side of the queue. Where the traceparent is written into the job.
model
readonlymodel:"model.call"="model.call"
One model call.
request
readonlyrequest:"http.request"="http.request"
The inbound GraphQL operation. server kind — the root of the trace.
tool
readonlytool:"tool.call"="tool.call"
One tool call.