@grand-board/otel-cloudflare - v6.11.0
    Preparing search index...

    Interface WithTraceOptions

    interface WithTraceOptions {
        caller?: CallerInfo;
        name?: string;
        parent?: string | SpanContext;
        tracerName?: string;
    }

    Hierarchy

    • SpanOptions
      • WithTraceOptions
    Index

    Properties

    caller?: CallerInfo

    Override the caller info for this span. If not provided, will be captured automatically.

    name?: string

    Name of the span. If not provided, uses the function name from caller info.

    parent?: string | SpanContext

    Parent trace context. Can be:

    • W3C traceparent string (e.g., "00-traceId-spanId-01")
    • SpanContext object

    If provided, the new span will be a child of this parent. If not provided, uses the current active context.

    tracerName?: string

    Tracer name to use. Defaults to "otel-cloudflare".