-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tracer] Adds SpanEvents Support for DD and OTEL (#2754)
* Adding class details for SpanEvent * Updated serializer and other C files to add event * Adding API to add events and use existent ones * Adding event and checking in test * Trying to test Otel to DD * Fixing test and applying nit changes * Currently passing full AddEvent and RecordException tests * Updating how we recordException * Removing manually added code * Added constructor and updated args were needed * Doing fixes so that test pass * Fixing missing CLOCK_REALTIME for Windows build error * Using inhouse time method and fixing array errors * Implementing addEvent for system-tests * Adding ExceptionSpanEvent class and recordException * Applying C code nits and limiting recordException * Merging master and Updating ddtrace_arginfo.h * Applying nits and using exception property in C * Adding manual usage work for both classes * Trying to fix CircleCI build nts extension errors * Trying to change where attributes are handled * Cleanup span event serialization Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Updating broken tests * Fixing what seems to be a version issue * Tested with 7.4 passing * Fixing test based on updated behavior * Initializing empty array * Addressing nits, updating libdatadog and recording exceptions * Cleanup implementation slightly Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> --------- Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> Co-authored-by: Bob Weinand <bob.weinand@datadoghq.com>
- Loading branch information
Showing
15 changed files
with
703 additions
and
18 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
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
Oops, something went wrong.