log2trace-ui - v1.0.0-rc.9
    Preparing search index...

    Function filterSpanIds

    • Filter indexed spans and return the matching span IDs.

      Works on IndexedSpan (from SpanIndex). Returns a Set of spanIds that pass all active filters.

      Parameters

      • spans: Iterable<IndexedSpan>

        Iterable of indexed spans to filter.

      • filters: Filter[]

        Local filter state (config + current value).

      Returns Set<string> | null

      Set of spanIds that match all active filters, or null if no filters are active.