Skip to content

Conversation

pavelgj
Copy link
Collaborator

@pavelgj pavelgj commented Sep 19, 2025

also truncate large attributes in spans when listing traces

Checklist (if applicable):

@pavelgj pavelgj changed the title fix(cli/telemetry-server): trucate large arrributes in span when listing traces fix(cli/telemetry-server): truncate large attributes in spans when listing traces Sep 19, 2025
The `save` method in `LocalFileTraceStore` was incorrectly using the hydrated `trace` object to determine if a root span exists before indexing. The hydration process can modify span data, which could cause the root span check to fail.

This change ensures the check is performed on the original `rawTrace` object, guaranteeing that traces with root spans are correctly identified and added to the index.
@pavelgj pavelgj changed the title fix(cli/telemetry-server): truncate large attributes in spans when listing traces fix(cli/telemetry-server): fixed trace duplication in the index which resulted in duplication in trace list in dev ui Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant