* @internal
(name: string, options?: SpanOptions, context?: Context)
| 264 | * @internal |
| 265 | */ |
| 266 | startSpan(name: string, options?: SpanOptions, context?: Context): Span { |
| 267 | if (!this.#otel) { |
| 268 | return this.#noopSpan |
| 269 | } |
| 270 | const { tracer } = this.#otel |
| 271 | return tracer.startSpan(name, options, context) |
| 272 | } |
| 273 | |
| 274 | // On browser mode, async context is not automatically propagated, |
| 275 | // so we manually bind the `$` calls to the provided context. |
no outgoing calls
no test coverage detected