Creating a Child Span with OpenTelemetry in TypeScript
hi, how can i make this effect span as child of the span say-hello and follow same tracer
const tracer = opentelemetry.trace.getTracer('example-basic-tracer-node')
const span = tracer.startSpan('say-hello')
span.setAttribute('hello-to', 'world')
span.addEvent('invoking say-hello', { 'hello-to': 'world' })
await Effect.gen(function* () {
yield* Effect.sleep(1000)
}).pipe(Effect.withSpan('fetch-todo'), executePromiseEffect)
span.end()