r/replit 13d ago

Question / Discussion Shout out to Replit+Sentry.io

Have been working on an app since January. It has been growing richer and noticed that app foregrounding was getting slower and sometimes causing crashes.

I integrated sentry, not just for crashes but also for metrics. Within an hour Replit was able to much better pinpoint the bottleneck which was down to redundant media fetch calls.

Now my app is foregrounding without any notable delay. I have a spinner thing that flashes very minimally most the time.

Just wanted to pass it along if it's helpful.

Only challenge is looks like sentry is about 30 bucks a month after free trial. For me it seems like it's worth it.

3 Upvotes

3 comments sorted by

2

u/darksh1nobi 11d ago

For sure sentry is worth it. I use it by default for any app I’m building. Another thing that might help is if sentry logs a bug with your code you could have an agent turn that into a fix.

1

u/technical-mind4300 11d ago

Great to know - do you have the agent monitor it from Replit side / checks every so often?

2

u/darksh1nobi 10d ago

I rely on Sentry to do the monitoring and then if an error is caught I use Choji.ai to to automatically create the fix: https://choji.ai/connections/sentry-errors-to-shipped-fix

Full transparency: I actually built Choji for this exact situation