(spanJson: Partial<SpanJSON>)
| 180 | * Creates envelope item for a single span |
| 181 | */ |
| 182 | export function createSpanEnvelopeItem(spanJson: Partial<SpanJSON>): SpanItem { |
| 183 | const spanHeaders: SpanItem[0] = { |
| 184 | type: 'span', |
| 185 | }; |
| 186 | |
| 187 | return [spanHeaders, spanJson]; |
| 188 | } |
| 189 | |
| 190 | /** |
| 191 | * Creates attachment envelope items |
no outgoing calls
no test coverage detected