( captureId: string, spanId: string, event: CapturedEvent, )
| 86 | } |
| 87 | |
| 88 | export function recordOtelEvent( |
| 89 | captureId: string, |
| 90 | spanId: string, |
| 91 | event: CapturedEvent, |
| 92 | ): void { |
| 93 | const existing = bucketFor(captureId).spans.find((s) => s.id === spanId) |
| 94 | if (!existing) return |
| 95 | existing.events.push(event) |
| 96 | } |
| 97 | |
| 98 | export function recordOtelException( |
| 99 | captureId: string, |