feat(otel): add support for span events#3776
Merged
Merged
Conversation
mabdinur
force-pushed
the
munir/add-span-events
branch
from
July 10, 2024 20:30
be2749a to
2e3e798
Compare
mabdinur
force-pushed
the
munir/add-span-events
branch
from
July 10, 2024 20:36
080e3b0 to
78f8b78
Compare
mabdinur
commented
Jul 10, 2024
mabdinur
force-pushed
the
munir/add-span-events
branch
from
July 10, 2024 20:38
589abcf to
5beeb47
Compare
mabdinur
force-pushed
the
munir/add-span-events
branch
from
July 11, 2024 20:26
9230214 to
6d71a35
Compare
mabdinur
marked this pull request as ready for review
July 11, 2024 20:26
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3776 +/- ##
========================================
Coverage 97.91% 97.91%
========================================
Files 1246 1248 +2
Lines 74999 75154 +155
Branches 3627 3636 +9
========================================
+ Hits 73435 73590 +155
Misses 1564 1564 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mabdinur
commented
Jul 12, 2024
mabdinur
commented
Jul 12, 2024
mabdinur
commented
Jul 12, 2024
mabdinur
commented
Jul 12, 2024
mabdinur
force-pushed
the
munir/add-span-events
branch
from
July 12, 2024 20:00
e2b667a to
f78f874
Compare
mabdinur
commented
Jul 16, 2024
mabdinur
commented
Jul 16, 2024
mabdinur
commented
Jul 16, 2024
mabdinur
commented
Jul 16, 2024
mabdinur
force-pushed
the
munir/add-span-events
branch
from
July 16, 2024 16:45
bb92318 to
c1cd64f
Compare
marcotc
approved these changes
Jul 16, 2024
TonyCTHsu
reviewed
Jul 17, 2024
TonyCTHsu
reviewed
Jul 17, 2024
TonyCTHsu
reviewed
Jul 17, 2024
TonyCTHsu
approved these changes
Jul 17, 2024
p-datadog
reviewed
Jul 17, 2024
mabdinur
force-pushed
the
munir/add-span-events
branch
from
July 17, 2024 19:04
7784672 to
b6e3c5e
Compare
mabdinur
force-pushed
the
munir/add-span-events
branch
from
July 17, 2024 19:11
b6e3c5e to
54c757e
Compare
marcotc
reviewed
Jul 17, 2024
mabdinur
force-pushed
the
munir/add-span-events
branch
2 times, most recently
from
July 18, 2024 16:26
f01655f to
c9d6455
Compare
Contributor
Library Vulnerabilities✅ No library vulnerabilities found (scanned da8c243). Code VulnerabilitiesCode Quality Violations |
mabdinur
force-pushed
the
munir/add-span-events
branch
from
July 18, 2024 16:51
c9d6455 to
64e29a1
Compare
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Span.record_exception. This ensures the status of the underlying Datadog span is updated when an exception is recorded on an OpenTelemetry Span.Motivation:
The OpenTelemetry API supports setting Events on spans. Currently these events are ignored by the ddtrace library. To fully support the OpenTelemetry API the ddtrace library must support sending span events to the Datadog Agent.
Additional Notes:
How to test the change?
Unit tests + DataDog/system-tests#2735
Unsure? Have a question? Request a review!