-
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
Error traces sent to New Relic and Datadog are not being recognized as errors #1644
Comments
Can you install the logging exporter and copy-paste the output for one of the trace? |
2020-11-19T16:45:07.394Z INFO loggingexporter/logging_exporter.go:313 TracesExporter {"#spans": 9} |
Thanks for filing the issue @stephenhong, we recently merged an update to our status code handling here. I'm wondering if that change addressed your issue. Can you return with the recently release v0.15.0 version (that should include #1587)? |
@stephenhong I'm not able to recreate this on my end with errors from a node client. I am using the opentelemetry-js library for instrumenting a sample node app. I'm not very familiar with
One thing that sticks out to me here is that in the debug logs don't see a @MrAlias what do you think of the above? I realize debugging is tricky when we're trying to figure out root cause among ...3 different vendor libraries...so any insight you have here is super helpful |
@bogdandrutu feel free to re-assign from @mx-psi to me for the |
@MrAlias I tried sending the same trace using the recently release v0.15.0 version but I got the same result. Error traces are still not being recognized as errors in NR and DD. @ericmustin The signalfx-tracing library sends traces in Zipkin format and I am using the Zipkin receiver with the OpenTelemetry Collector. In the collector log, I see that the error attribute is set to true. Is there a way for the span.Status to adjust accordingly with the error attribute? |
@stephenhong thanks for the additional context...I'd certainly be open to updating things at the exporter level but I think that doesn't solve the root cause here which is that, if i understand correctly, the zipkin receiver isn't setting span status like it shoud be. I also want to make sure you can send traces to NR 🙂 @bogdandrutu do you want me to add exporter support for marking a span as an |
@ericmustin Yes, I am able to send traces to both NR and DD. This is the NR permalink of the error trace: https://one.nr/0ERPZvlQ and this is the DD link of the error trace: https://capone-nonprod.datadoghq.com/apm/trace/198547648939945912?spanID=5605010049747798061&env=powerup-tech-qa&sort=time&colorBy=service&spanViewType=metadata&graphType=flamegraph&shouldShowLegend=true |
@stephenhong sorry , misphrasing on my part, i mean i want to make sure you're traces are marked as errors correctly in both vendors |
@ericmustin No, neither NR and DD are recognizing the traces as errors |
@stephenhong yup I think we're on the same page. Working to get this fixed 👍 Investigation but now relies on, I think, a different tag, depending on whether using zipkinv2 or zipkinv1
From a brief investigation of the sfx client, it appears they export zipkin in v2 format: https://github.com/signalfx/signalfx-nodejs-tracing/blob/8b2063aa2e0fbd834bc4f2ad959add37a985f72c/README.md#license-and-versioning
So, it would appear the issue is with either the client's definition of the zipkinv2 format, or the collector's @bogdandrutu Am I understanding things correctly here? What next steps would you recommend here, is there someone more familiar with zipkin and/or sfx that can help here? |
@bogdandrutu we're blocked here by @owais on the above referenced issue, is there anything I can do to help here? |
👋 @stephenhong just wanted to ping here to let you know we have a PR approved upstream (see above) that should be merged soon and resolve the zipkin issue you were seeing, ideally available in next release. Definitely let us know if you have any other questions/issues with collector export, feel free to open an issue and tag us or reach out over the gitters as well. Cheers! |
Signed-off-by: Bogdan Drutu <[email protected]>
This should be fixed, if you are still having issues feel free to reopen it! |
Describe the bug
I have a Node.js application sending traces to New Relic and Datadog. I'm using the latest release (0.14.0) of the OpenTelemetry Collector. I generated a 500 error with my app and the trace data was sent to both New Relic and Datadog. In both tools, the trace displayed the stack trace. However, neither tools recognized the trace as an error trace
Steps to reproduce
Node.js application using 'signalfx-tracing' sends error traces to the latest release (0.14.0) of the OpenTelemetry Collector. Configure the collector to export traces to New Relic and Datadog.
What did you expect to see?
New Relic and Datadog recognizing the error traces as errors
What did you see instead?
New Relic and Datadog not recognizing the error traces as errors
What version did you use?
Version: v0.14.0
What config did you use?
Config: the yaml config file
Environment
OS: Amazon EC2 instance
Compiler(if manually compiled): (e.g., "go 14.2")
Additional context
I can provide screenshots if needed
The text was updated successfully, but these errors were encountered: