InsightsScope — Parallel-safe scoped telemetry context

Owns its own trace_id and chainStack but writes to the parent's shared eventBatch for unified flushing.

Constructors

Methods

  • Parameters

    Returns Promise<string>

  • Returns Promise<string>

  • Returns Promise<string>

  • Returns void

  • Returns void

  • Parameters

    • event_type: string
    • payload: Record<string, any>

    Returns Promise<string>