-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[datadogexporter/datadogconnector] OpenTelemetry Missing Tags in APM Stats while upgrading to 0.95.0 #36329
Comments
Can you share a sample trace with the tags applied? Also have you opened a ticket with Datadog support? Also, there have been some improvements/fixes relating to tagging between versions 0.95.0 and the current version 0.114.0 so if you are able to try a newer version that might be helpful as well. |
Sorry for the late reply, didn't have a chance to do more testing until today.
What is the simplest way to share a sample trace? I need to anonymize it... However, please keep in mind that the issue does not appear on tags: the trace tags didn't change between
No, it was rapidly isolated to a difference in behavior between the
Yes, I tested with 0.113.0 as mentioned in the question. I also tested with the 0.116.1, after the communication with the peer tags changes. The tags still do not appear. Since the host is set to "none", is there a way to enrich at least this one manually using a processor? k8sattribute does not fit the purpose here since it's a sidecar setup. The processor |
if you can open the support ticket that will allow our engineers to view sample traces from the support tool, that's why I suggested it |
Component(s)
No response
What happened?
Description
I am publishing traces from EKS Services to DataDog using
otel/opentelemetry-collector-contrib:0.94.0
.I have been trying to upgrade to the latest version, but could not go beyond 0.95.0 without breaking most of our alerting system which relies heavily on APM Metrics and specific tags being present.
I went through reusing the Datadog Connector as described here and here; and “trace.Microsoft.AspNetCore.server.hits” APM metrics now appear in DataDog, but without any of the custom tags available in the APM traces. I can see a number of options in the datadog connector (e.g. peer_tags) but none worked. The tags service, env and resource_name seems to go through, but not “host” or anything custom.
Is this behavior expected? Can these tags be available the same way they used to be? Is there a better way of doing this?
Steps to Reproduce
Upgrade the OpenTelemetryCollector sidecar from 0.94.0 to 0.95.0 and reuse datadog connector as configured below. Note that this was tried with v0.113.0 as well.
Expected Result
The computed APM Metrics contain the same tags as the APM traces.
Actual Result
The computed APM Metrics contain only service, env, and resource_name. The tag "host" is set to "none" and custom tags are not available.
Collector version
v0.95.0
Environment information
Environment
OpenTelemetry Collector configuration
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: