forked from jaegertracing/jaeger-client-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
An extension of enum opentracing::SpanReferenceType, for a new Span. (j…
…aegertracing#206) * An extension of enum opentracing::SpanReferenceType, for a new Span. Only to copy traceID and (for non-root spans) spanID, because spanID for root spans == traceID.low() Signed-off-by: Oleksandr Bukaiev <[email protected]> * 1) Renamed useTheseIDs to SelfRef, for consistency between different lang implementations of Jaeger client 2) SpanId is always taken from the SelfRef context Signed-off-by: Oleksandr Bukaiev <[email protected]> * Seems like on some compilers jaegertracing::SpanContext::StrMap(initializer_list) is explicit Signed-off-by: Oleksandr Bukaiev <[email protected]> * Temporarily commented out the new unit test case body Signed-off-by: Oleksandr Bukaiev <[email protected]> * SelfRef only used for creating root spans and can be passed as the only reference to enforce this rule Signed-off-by: Oleksandr Bukaiev <[email protected]> * Apparently std::exception ctor with a const char* is not standard Signed-off-by: Oleksandr Bukaiev <[email protected]> * Updates in README and code comments as per reviewer's request Signed-off-by: Oleksandr Bukaiev <[email protected]> * Added a testTracer subtest with no selfref to check the github CI result Signed-off-by: Oleksandr Bukaiev <[email protected]> * Removed test changes Signed-off-by: Oleksandr Bukaiev <[email protected]> * Added 2 unittests - a simple span child and a simple self ref Signed-off-by: Oleksandr Bukaiev <[email protected]> * Added child span to selfref unittest, small changes in new tests Signed-off-by: Oleksandr Bukaiev <[email protected]> * Show better log if sef ref is used with other references Signed-off-by: Oleksandr Bukaiev <[email protected]> * Change in error log if selfref is used with another ref Signed-off-by: Oleksandr Bukaiev <[email protected]>
- Loading branch information
1 parent
9e1b39c
commit 78ea963
Showing
4 changed files
with
118 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters