发布

  • Infinitespark 96/issue 2309 add filtering sorting statistics to llm count (#2502)

    frostbyte_neo 发布于 2025-07-08 15:53:11 +00:00

    • feat: add dynamic usage sorting and span count to sorting fields

    • [OPIK-2227]: implement requested code improvements from review feedback

    • [OPIK-2227]: Optimize span statistics aggregation by using limit-before-join pattern, add additional tests

    • [OPIK-2227]: Fixes in TraceDAO.java file

    • [OPIK-2227]: Add tests coverage in TracesResourceTest for spanCount and usage fields, some code revert

    • [OPIK-2227]: Add @DisplayName to each test

    • [OPIK-2227]: Remove commented out line

    • [OPIK-2227]: Revert some more changes

    • [OPIK-2227]: Remove redundant tests, add test for sorting by usage

    • [OPIK-2227]: Add tests for spanCount, some code improvement

    • [OPIK-2309]: Add sorting to llm span count

    • [OPIK-2309]: Add filtering for llm span count

    • [OPIK-2309]: Add tests coverage for filtering by llm span count

    • [OPIK-2309]: Add average for llm_span_count

    • [OPIK-2309]: Convert countIf(s.type = 'llm') to Int64 to avoid errors when zero values are passed from the frontend

    • [OPIK-2309]: Fix stats assertions to compare by name; add test for llm_span_count_avg as AvgValueStat

    • [OPIK-2309]: Some code revert

    • [OPIK-2309]: Use one separate method for testing filtering by llmSpanCount for all tests

    • [OPIK-2309]: Make llmSpanCount and spanCount unique per each trace in getTracesByProject__whenSortingByValidFields__thenReturnTracesSorted

    • [OPIK-2309]: Add LLM_SPAN_COUNT average stat only if it's trace_count in mapProjectStats

    • [OPIK-2309]: Add llmSpanCount to StatsUtils, some test fixes due to error because of an incorrect llmSpanCountValue

    • [OPIK-2309]: Set/Recalculate spanCount and llmSpanCount values for traces

    • fix merge conflicts

    • test improvements


    Co-authored-by: Andres Cruz andresc@comet.com

    下载附件