-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[receiver/datadog] service.name
not set at trace resource resulting in OTLPResourceNoServiceName
#21210
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
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
taking a look |
Upon further review I yanked the PR.
span being th Datadog Span. Since DD is a snowflake, a name to them is not driven off a tag, it has a special field. That is where we pull service.name from. So everything looks fine to me. Is your request to also copy service.name from a tag? |
@boostchicken sorry for delay in responding John. Please find below the steps to recreate the issue. Core of it is with Tempo expecting the service name to be available in Steps to reproduce:
@gouthamve Could you please have someone from Tempo team review this and clarify why Tempo is expecting the |
Will be fixed in the next released. |
Thank you @MovieStoreGuy for fixing this.. I did hear from Tempo team on their expectations, adding it here incase someone comes across this at a future date. Based on this section of Otel Spec (https://opentelemetry.io/docs/specs/otel/resource/sdk/#sdk-provided-resource-attributes) Tempo expects service.name and telemetry.sdk group be present in the |
Uh oh!
There was an error while loading. Please reload this page.
Component(s)
receiver/datadog
What happened?
Description
Currently in addResourceData
service.name
is not set. Its set in the span attributes. Because of this traces exported to backends like Grafana tempo are appearing asOTLPResourceNoServiceName
.Steps to Reproduce
otel-collector-contrib
withExpected Result
The service Name should be populated in Service Name filter which uses the Resources section
ref:
Actual Result
The

Resource
section does not contains aservice.name
tag, thus resulting inOTLPResourceNoServiceName
Collector version
v0.75.0
Environment information
Environment
OS: Ubuntu 20
OpenTelemetry Collector configuration
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: