v2

latestOpenAPI 3.1.02026-07-26143251806.6 KB
spans

Create Spans Bulk

post/spans-bulk

Request body

close_afterboolean

When true, all trace IDs in this batch are marked as closed after the spans are persisted. Subsequent span writes for those traces will be rejected with a trace_closed rejection reason. Defaults to false.

Response

Successful Response

successboolean required
spansobject[] required
request_logsobject[] nullable
rejected_span_idsstring[] nullable

Span IDs that were dropped because they belong to a closed trace. Only present when one or more spans were rejected.

rejected_trace_idsstring[] nullable

Trace IDs that were closed and caused span rejections. Only present when one or more spans were rejected.

rejection_reason'trace_closed' nullable

The reason spans were rejected. Currently only trace_closed is possible. Only present when one or more spans were rejected.