Skip to content
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

Track Rails errors on boot #808

Closed
4 tasks
tombruijn opened this issue Jan 18, 2022 · 2 comments
Closed
4 tasks

Track Rails errors on boot #808

tombruijn opened this issue Jan 18, 2022 · 2 comments

Comments

@tombruijn
Copy link
Member

tombruijn commented Jan 18, 2022

I've previously documented something about it here: https://docs.appsignal.com/ruby/integrations/rails.html#error-reporting-during-start-up

But we should look into if we want to offer this by default. Which I think would be a good idea.

To do

  • Research how we can hook into Rails' start up/boot process and track any errors that occur at this time.
    • We probably want to track errors from before our "railtie" is loaded. Maybe even before AppSignal is normally loaded. Maybe we need to load AppSignal earlier in this scenario. Timebox this research for a day and update the team if you're stuck.
  • Add this scenario to one of the test apps.
  • Update blog team about this new feature, it's something we can release a minor release for.
  • Update documentation page
@tombruijn
Copy link
Member Author

@tombruijn tombruijn mentioned this issue Jul 8, 2024
82 tasks
@tombruijn
Copy link
Member Author

We report errors with the Ruby at_exit hook in Ruby gem 4. As long as AppSignal has started before an error occurs, we will report errors that crash Rails.

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant