-
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
Node.js - add example of equivalent noticeError
API using OpenTelemetry
#168
Comments
@martinkuba thanks to your wonderful additions in open-telemetry/opentelemetry-js#3117, are you (NewRelic) by any chance considering to help us here? |
Hi, Olzhas! Are you looking to use the OpenTelemetry JS SDK or make an HTTP call to the NR OTLP endpoint directly? If the latter, I could help now. Regarding the former, the Javascript SDK does not have an implementation of the Logs API yet. I am working on that now, but it will take some time to get that merged and released. Also, with either of these options, you will end up with a New Relic |
Thank you for the reply. If possible, please kindly share whether |
span.setStatus({ code: SpanStatusCode.ERROR, message });
span.recordException(error); What I don't remember is if Errors Inbox will capture all spans that have a status of |
Hello @o-alexandrov
At this point in time we have kept the scope of this examples repository narrow (outlined here) - essentially how to configure the OTLP exporter to ship metrics, logs, traces to New Relic in a number of languages. That said, we do have plans to expand our scope to better highlight how to use New Relic features like Errors Inbox. We're doing so in coordination with our documentation team. Using Errors Inbox with OpenTelemetry tooling is documented here. Of course, the thing that's missing are simple examples demonstrating how to achieve what we've documented there. We're working with our docs team to better connect the dots from our OpenTelemetry documentation to examples within this repository. @rhetoric101 @reese-lee @rkbodenner In the meantime, the information @nrcventura shared regarding Errors Inbox should work for you. And to clarify, Errors Inbox, currently only counts spans of kind |
Summary
Based on the discussion here, please add an example of equivalent
noticeError
API using OpenTelemetry w/ New Relic.Additional context
Exception handling is one of the most frequent features devs build.
To not require devs to create the same solution over and over, you could create an example, letting companies to adopt your service easier.
The text was updated successfully, but these errors were encountered: