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

[TraceQL] Add Support for Kind #2217

Merged
merged 10 commits into from
Mar 20, 2023
Merged

[TraceQL] Add Support for Kind #2217

merged 10 commits into from
Mar 20, 2023

Conversation

joe-elliott
Copy link
Member

What this PR does:
Adds support for the span kind. I would really like to merge #2190 before this one so I can add some tests for kind.

Queries like this are now possible:

{ kind = client }

or

{ kind != internal }

Other changes:

  • Added .dockerignore. Not sure how we went so long without one
  • Consolidated CreateStatusPredicate and CreateIntPredicate into one function.

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

Checklist

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

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Copy link
Contributor

@knylander-grafana knylander-grafana left a comment

Choose a reason for hiding this comment

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

Thank you for adding doc. Doc updates look good.

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
@joe-elliott joe-elliott merged commit 70272b8 into grafana:main Mar 20, 2023
mdisibio pushed a commit to mdisibio/tempo that referenced this pull request Apr 18, 2023
* kind added to the language

Signed-off-by: Joe Elliott <number101010@gmail.com>

* added to fetch layer

Signed-off-by: Joe Elliott <number101010@gmail.com>

* todo

Signed-off-by: Joe Elliott <number101010@gmail.com>

* todos

Signed-off-by: Joe Elliott <number101010@gmail.com>

* combined status, kind and int preds

Signed-off-by: Joe Elliott <number101010@gmail.com>

* todos

Signed-off-by: Joe Elliott <number101010@gmail.com>

* changelog

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added kind to tempodb search tests. Fixed false duration condition

Signed-off-by: Joe Elliott <number101010@gmail.com>

* improve docs

Signed-off-by: Joe Elliott <number101010@gmail.com>

---------

Signed-off-by: Joe Elliott <number101010@gmail.com>
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] Support span.kind
5 participants