-
|
I have some places in my application where exceptions can happen, and are handled - for example, a job fails due to unavailability of an external service. It will automatically be retried, and if some other attempt succeeds, there is nothing I need to do. However, I would still like to be notified when those retries happen, so that I can see if it happens once a week or 50 times a day. When I was using Sentry, I would use With Appsignal, I only found |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi @Timmitry, you say this happens in a background job. Would you happen to be using Sidekiq? If so, you can use our If not, what library are you using? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @Timmitry, there are several features within AppSignal that might allow you to track these events. While we don't provide an equivalent to However, what I'd suggest is using our logging feature. With logging, you can log these messages through your application's logger. Then you can create views that display those messages, or configure alerts based on the frequency of those messages. |
Beta Was this translation helpful? Give feedback.
Hi @Timmitry, there are several features within AppSignal that might allow you to track these events. While we don't provide an equivalent to
report_errorthat takes a string, you could create a helper that raises a custom error type and callsreport_errorwith it.However, what I'd suggest is using our logging feature. With logging, you can log these messages through your application's logger. Then you can create views that display those messages, or configure alerts based on the frequency of those messages.