Span processor that filters out spans that are not LangSmith-related and usually should not be traced.

Hierarchy

  • BatchSpanProcessor
    • LangSmithOTLPSpanProcessor

Constructors

  • Parameters

    • _exporter: SpanExporter
    • Optionalconfig: BufferConfig

    Returns LangSmithOTLPSpanProcessor

Methods

  • Forces to export all finished spans

    Returns Promise<void>

  • Parameters

    • span: Span
    • parentContext: Context

    Returns void

  • Returns void