dd-trace-rb icon indicating copy to clipboard operation
dd-trace-rb copied to clipboard

[FEATURE]: Integrate ErrorReporter subscriber for Rails > v7.0

Open skatkov opened this issue 11 months ago • 2 comments

Gem Name

rails

Gem Version(s)

No response

Describe the goal of the feature

Starting from version 7.0 Rails introduced a new ErrorReporter interface. It's possible to implement a subscriber that would receive those error/logs/warning from that interface.

https://guides.rubyonrails.org/error_reporting.html

This interface is used not only by rails itself, but other gems can report issues through it.

datadog doesn't seem to have support for this interface yet.

Is your feature request related to a problem?

We're comparing number of errors that Sentry reports and comparing those with number we receive with datadog. And all the time, Datadog reports fewer issues. We assume that absence of integration with ErrorReport might be one of the issues why to this difference.

Describe alternatives you've considered

We have patched the Sentry gem and sending events from it into Datadog.

Additional context

No response

How does Datadog help you?

No response

skatkov avatar Jan 13 '25 17:01 skatkov

Hey @skatkov, thank you so much for bringing this up!

This Rails Error Reporting API aligns well with our Error Tracking product, so I'll bring it with our product team to see how we want to best leverage it, and increase error coverage.

marcotc avatar Jan 21 '25 23:01 marcotc

Hey @marcotc, just a gentle nudge on this one 🙂 Did you manage to discuss this with your product team?

iMacTia avatar Mar 05 '25 15:03 iMacTia