@langwatch/scenario
    Preparing search index...

    Function setupScenarioTracing

    • Explicitly set up tracing for @langwatch/scenario.

      Call this before any run() invocations when you want full control over the observability configuration. If called, run() will skip its own lazy initialization.

      The judgeSpanCollector is always added as a span processor regardless of the user-provided options.

      Parameters

      • Optionaloptions: Partial<SetupObservabilityOptions>

        Optional SetupObservabilityOptions forwarded to the langwatch SDK setupObservability() function.

      Returns void

      import { setupScenarioTracing } from "@langwatch/scenario";

      setupScenarioTracing({
      instrumentations: [], // disable auto-instrumentation
      spanProcessors: [myProcessor], // add custom processors
      });