Skip to content

TraceQL: fix queries like {.foo && true} and {.foo || false} #4855

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

Merged
merged 3 commits into from
Mar 16, 2025

Conversation

stoewer
Copy link
Contributor

@stoewer stoewer commented Mar 14, 2025

What this PR does:
Fix behavior for queries single attributes that are &&ed or ||ed with a boolean.

Which issue(s) this PR fixes:
Fixes #4839

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
Copy link
Contributor

@javiermolinar javiermolinar left a comment

Choose a reason for hiding this comment

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

LGTM

@stoewer stoewer merged commit ad887d7 into grafana:main Mar 16, 2025
15 checks passed
@stoewer stoewer deleted the traceql-attr-and-or-bool branch March 27, 2025 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants