Skip to content

Support for search by status message in traceql - #2848

Merged
mdisibio merged 7 commits into
grafana:mainfrom
kousikmitra:feature/search-status-message
Aug 29, 2023
Merged

Support for search by status message in traceql#2848
mdisibio merged 7 commits into
grafana:mainfrom
kousikmitra:feature/search-status-message

Conversation

@kousikmitra

@kousikmitra kousikmitra commented Aug 25, 2023

Copy link
Copy Markdown
Contributor

What this PR does:

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

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
@kousikmitra kousikmitra changed the title #2655 Support for search by status message in traceql Aug 25, 2023

@mdisibio mdisibio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is looking really great so far 👍 Since this is a new feature I think it's ok to only support the statusMessage intrinsic in TraceQL and not the status.message label for tag-based search. The old tag-based search is deprecated and going away (in the UI and in Tempo).

@kousikmitra

Copy link
Copy Markdown
Contributor Author

This is looking really great so far 👍 Since this is a new feature I think it's ok to only support the statusMessage intrinsic in TraceQL and not the status.message label for tag-based search. The old tag-based search is deprecated and going away (in the UI and in Tempo).

Got it, removed.

It's ready for review. Let me know what you think!

@mdisibio mdisibio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested locally and it's working great. One last thing before we merge - Let's add it to the list of intrinsics in https://github.com/grafana/tempo/blob/main/docs/sources/tempo/traceql/_index.md#intrinsic-fields. We can use the definition optional text accompanying the span status.

@knylander-grafana knylander-grafana left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for updating the documentation.

@mdisibio
mdisibio merged commit 5558edc into grafana:main Aug 29, 2023
@kousikmitra
kousikmitra deleted the feature/search-status-message branch August 29, 2023 18:11
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* Support searching by status message field

* Fix proto to parquet column name mapping

* remove status message from tag search

* Convert parquet column name to intrinsic name

* Add changelog entry

* Generate yacc

* Add related documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants