-
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
Span service.name attribute ignored during NativeIngest APM stats metric aggregation #35481
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@tinyjacky if you can remove According to OTel spec https://opentelemetry.io/docs/specs/semconv/resource/#service
We plan to eventually remove the mappings that do not conform to OTel specs following some deprecation period, such as getting resource attributes from span attributes. /cc @IbraheemA @dineshg13 |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Closing as wontfix since we do not have plans to further support setting resource semantic conventions as span attributes. @dineshg13 @IbraheemA to file/link to a separate issue for tracking removing support for existing resource semantic conventions |
Component(s)
connector/datadog
What happened?
Description
With
connect.datadogconnector.NativeIngest
enabled, during APM stats metric aggregation, only the resource attributeservice.name
would be used for service name, while the span attributeservice.name
attribute would be ignored.This is believed to be a bug because, in Datadog backend, the
service
value in the span is still using span attributeservice.name
, while theservice
value in APM metrics uses the resource attributeservice.name
.For these kind of spans, the APM metrics related UX would be broken because of the inconsistencies.
Steps to Reproduce
Send a span with attribute
service.name
valuesname
and resource attributeservice.name
valuername
For example,
Expected Result
APM metrics with attr
service:sname
.Actual Result
APM metrics with attr
service:rname
.Collector version
v0.110.0
Environment information
Environment
OS: macOS Sonoma 14.6.1, arm64
OpenTelemetry Collector configuration
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: