-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[ES, C*] Check for the presence of a tag #2054
Conversation
Signed-off-by: Annanay <[email protected]>
Signed-off-by: Annanay <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2054 +/- ##
==========================================
- Coverage 97.39% 97.26% -0.14%
==========================================
Files 207 207
Lines 10286 10330 +44
==========================================
+ Hits 10018 10047 +29
- Misses 223 238 +15
Partials 45 45
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be added to integration tests.
@@ -301,9 +308,30 @@ func (s *SpanReader) findTraceIDs(ctx context.Context, traceQuery *spanstore.Tra | |||
if len(traceQuery.Tags) > 0 { | |||
return s.queryByTagsAndLogs(ctx, traceQuery) | |||
} | |||
if len(traceQuery.CheckTagsPresent) > 0 { | |||
s.queryCheckTagPresence(ctx, traceQuery) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Return?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops. Will fix.
I'd like to wait for #2049 to be merged before moving forward with this. |
@annanay25 looks like #2049 is already there ;-) |
Which problem is this PR solving?
Short description of the changes
In the UI, this feature could be implemented as a search-box, input being a comma separated list of tags that need to be present in the result traces.