Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(widget-builder): Allow duplicate aggregates in spans charts preview #84385

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nikkikapadia
Copy link
Member

This bug shows that selecting any two identical aggregates in a spans chart resulted in an internal error. Turns out the spans dataset doesn't support that and won't automatically return the singular timeserie. I checked the Traces code and they remove the duplicate y-axes so I've borrowed that same logic for spans chart widget previews.

Before After
image image

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 31, 2025
@nikkikapadia nikkikapadia marked this pull request as ready for review January 31, 2025 20:07
@nikkikapadia nikkikapadia requested a review from a team as a code owner January 31, 2025 20:07
Copy link
Member

@narsaynorath narsaynorath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for fixing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants