Skip to content

Commit

Permalink
Tracing: added OpenTelemetry integration test
Browse files Browse the repository at this point in the history
The test verifies that span tree structure and status code are valid.
Speculative executions are run parallel to the main thread, so some
of them can finish only after query result has been returned.
Thus, in order to collect span data from entire request, we decided
to wait until all speculative executions end. The main thread uses
conditional variable `allEnded` to wait for them and lock is used
for concurrent mutation of activeSpans.
  • Loading branch information
wprzytula committed Sep 5, 2022
1 parent c388401 commit c833b22
Showing 1 changed file with 889 additions and 0 deletions.
Loading

0 comments on commit c833b22

Please sign in to comment.