-
Notifications
You must be signed in to change notification settings - Fork 67
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
Unable to see traces via service.name but trace.id only #655
Comments
Take a look at this guide for troubleshooting issues with sending OTLP data to New Relic: https://docs.newrelic.com/docs/opentelemetry/best-practices/opentelemetry-otlp-troubleshooting/ One thing that sticks out is that your span's timestamps are quite old: If you're still experiencing issues, please open a support ticket so we can give support specific to your account. |
@jack-berg Hey Jack , Thanks for your response. Span that I have posted are for examples to demonstrate that I am getting spans in this format . However the attribute that I want to highlight is service.name that is a required field as mentioned in this documentation and I am getting that under the https://docs.newrelic.com/docs/opentelemetry/best-practices/opentelemetry-best-practices-resources/ Also I don't get any errors as such but will surely look at the documentation that you have mentioned for troubleshooting. |
Nothing else looks wrong about the data from here. I would need to know more account details to assist further, but suggest you open a support ticket for that since it wouldn't be good to share account details on github. |
@jack-berg Additionally, I would like to you to know that , My service.name i.e loom-screen-service is getting printed here. And when I open the trace I get this error. No root span . I am attaching screenshots for your reference , if you would like to add some points here. |
Summary : Unable to see traces on NewRelic via service.name but via trace.id
Description
I am using opentelemetry-otlp to send traces to otel-collector and then otel-collector-config has an endpoint to send data to NewRelic.
I am following below example to send data to otel-collector and get the logs shown as shown in the example.
https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp/examples/basic-otlp
And using this example to send traces data to newrelic.
https://github.com/newrelic/newrelic-opentelemetry-examples/tree/main/other-examples/collector/nr-config
I am able to see trace data using trace.id but not service.name . service.name is present under Resource attributes like mentioned on NewRelic opentelemetry documentation as well.
Resource SchemaURL:
Resource attributes:
-> service.name: Str(basic-otlp-example)
https://github.com/newrelic/newrelic-opentelemetry-examples/tree/main/other-examples/collector/nr-config.
Log output on otel-collector :
Language used : rust
Code Reference (Rust)
The text was updated successfully, but these errors were encountered: