effect-io-ai

Package: effect
Module: Tracer

Tracer.ParentSpanKey

Defines the string key for the parent-span context service.

When to use

Use when you need the raw context key for parent span lookup in lower-level tracing code.

Example (Reading the parent span key)

import { Tracer } from "effect"

// The key used to identify parent spans in the context
console.log(Tracer.ParentSpanKey) // "effect/Tracer/ParentSpan"

Signature

declare const ParentSpanKey: "effect/Tracer/ParentSpan"

Source

Since v4.0.0