Skip to content

Trace Operator Docs Needs Clarification/Improvement #10025

@gkarthi-signoz

Description

@gkarthi-signoz

I was reading through the trace operator docs and trying to use it. It turns out from reading the trace operator code logic in the signoz repo, that for all these operators the result it returns is the left hand side span.

For example:

  • A => B: Returns spans from A that are direct parents of spans matching B.

  • A && B: Returns spans from A that are in traces that also contain spans matching B.

Regardless of the operator, the result is the left hand side (in these cases it is spans satisfying A). This is not obvious or explicitly stated in the trace operator docs. Filing this to make it more clear for readers in the docs and blogs:

Video for additional context:
https://www.loom.com/share/232fd948593a461d9b3bd25646f26a2e

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationtraces

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions