-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[receiver/datadog] span.Resource is dropped #23150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I'll get to this early next week. |
Thanks @boostchicken , From what I can tell is that |
I got around to it myself here #23814 |
jpkrohling
pushed a commit
that referenced
this issue
Jul 26, 2023
**Description:** Fixes #23150 by include the original `dd.span.Resource` in the attributes of the translated span **Link to tracking Issue:** [23150](#23150) **Testing:** Added test that span.Resource is included in translate attributes **Documentation:** Added note on `dd.span.Resource` to datadog receiver README
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component(s)
receiver/datadog
What happened?
Description
As of pr 21764 the datadog receiver drops the span.Resource field - since this is where dd-java-agent put the db.statement field, this means that db statements are no longer available
Steps to Reproduce
Instrument an application with dd apm, and check any db span
Expected Result
span.Resource should be available as a tag on spans
Actual Result
span.Resource is not available as a tag on spans
Collector version
v0.78.0
Environment information
Environment
N/A
OpenTelemetry Collector configuration
N/A
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: