OpenInference JS
    Preparing search index...
    • Determines whether a span should be exported based on configuration and the spans attributes.

      Parameters

      • params: { span: ReadableSpan; spanFilter?: SpanFilter }

        The parameters object

        • span: ReadableSpan

          The span to check for export eligibility

        • OptionalspanFilter?: SpanFilter

          A filter to apply to a span before exporting. If it returns true for a given span, the span will be exported

      Returns boolean

      true if the span should be exported, false otherwise.