Skip to content

[Bug]: Issues with the table in the "Spans" tab #5170

@kraftn

Description

@kraftn

What component(s) are affected?

  • Opik Python SDK
  • Opik Typescript SDK
  • Opik Agent Optimizer SDK
  • Opik UI
  • Opik Server
  • Documentation

Opik version

  • Opik version: 1.10.11 (open source)

Describe the problem

There are several issues when working with the table in the "Spans" tab (Observability -> Logs -> Spans).

  1. Table cells change their values when sorting rows by certain columns. For example, this occurs when sorting by the "Total tokens" column.
Image Image
  1. When filtering spans by a specific criterion (e.g., by Trace ID) and selecting Sum as the aggregation method for columns such as "Total tokens", "Total input tokens", and "Total output tokens", the aggregation result is incorrect.
Image
  1. The "Count" value in the "Input" column doesn't match the number of non-empty inputs.
Image

Reproduction steps and code snippets

No response

Error logs or stack trace

No response

Healthcheck results

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions