()
| 332 | } |
| 333 | |
| 334 | function createFallbackSpanContext(): SpanContext { |
| 335 | return { |
| 336 | traceId: randomBytes(16).toString('hex'), |
| 337 | spanId: randomBytes(8).toString('hex'), |
| 338 | traceFlags: TraceFlags.SAMPLED, |
| 339 | } |
| 340 | } |
| 341 | |
| 342 | interface CopilotOtelScope { |
| 343 | // Leave unset on the chat POST — startCopilotOtelRoot will derive |
no test coverage detected