发布

  • [OPIK-5274] [BE] feat: add source filter support to trace thread endpoints (#5895)

    frostbyte_neo 发布于 2026-03-27 09:59:01 +00:00

    • Add SOURCE field to TraceThreadField enum with legacyFallbackDbValue override (matching SpanField pattern)
    • Route TraceThreadField.SOURCE to FilterStrategy.TRACE so filtering applies on individual trace rows where the source column exists
    • Add <if(filters)> clause to traces_final CTE in all three thread SQL queries (list, stream, stats, count)
    • Add integration tests for source filtering on thread list endpoint (stream and non-stream) and stats endpoint

    Implements OPIK-5274: add missing source filter to trace thread endpoints

    下载附件