Skip to content

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

Merged
stoewer merged 3 commits intografana:mainfrom
stoewer:traceql-attr-and-or-bool
Mar 16, 2025
Merged

TraceQL: fix queries like {.foo && true} and {.foo || false}#4855
stoewer merged 3 commits intografana:mainfrom
stoewer:traceql-attr-and-or-bool

Conversation

@stoewer
Copy link
Copy Markdown
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
Copy Markdown
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TraceQL fails on &&ing attributes to true

2 participants