馃悕 Are you using #Rollbar and want to add Celery to your web app? This is how I did that to give my #Django app the ability to run async tasks. https://www.mattlayman.com/blog/2017/django-celery-rollbar/
Rollbar monitoring of Celery in a Django app 路 Matt Layman

Rollbar provides some excellent middleware that makes setup a snap for a Django application. But what if you're running Celery with your Django application too? There are a few bumps in the road that I'll explain how to resolve.

Matt Layman
馃悕 Are you using #Rollbar and want to add Celery to your web app? This is how I did that to give my #Django app the ability to run async tasks. https://www.mattlayman.com/blog/2017/django-celery-rollbar/
Rollbar monitoring of Celery in a Django app 路 Matt Layman

Rollbar provides some excellent middleware that makes setup a snap for a Django application. But what if you're running Celery with your Django application too? There are a few bumps in the road that I'll explain how to resolve.

Matt Layman
馃悕 Are you using #Rollbar and want to add Celery to your web app? This is how I did that to give my #Django app the ability to run async tasks. https://www.mattlayman.com/blog/2017/django-celery-rollbar/
Rollbar monitoring of Celery in a Django app 路 Matt Layman

Rollbar provides some excellent middleware that makes setup a snap for a Django application. But what if you're running Celery with your Django application too? There are a few bumps in the road that I'll explain how to resolve.

Matt Layman
馃悕 Are you using #Rollbar and want to add Celery to your web app? This is how I did that to give my #Django app the ability to run async tasks. https://www.mattlayman.com/blog/2017/django-celery-rollbar/
Rollbar monitoring of Celery in a Django app 路 Matt Layman

Rollbar provides some excellent middleware that makes setup a snap for a Django application. But what if you're running Celery with your Django application too? There are a few bumps in the road that I'll explain how to resolve.

Matt Layman
馃悕 Are you using #Rollbar and want to add Celery to your web app? This is how I did that to give my #Django app the ability to run async tasks. https://www.mattlayman.com/blog/2017/django-celery-rollbar/
Rollbar monitoring of Celery in a Django app 路 Matt Layman

Rollbar provides some excellent middleware that makes setup a snap for a Django application. But what if you're running Celery with your Django application too? There are a few bumps in the road that I'll explain how to resolve.

Matt Layman

So if you're using #Rollbar and you use `deliver_now` and then try to capture any errors with a `rescue`, you'lll discover that... well... They still get reported to Rollbar!

Turns out, Rollbar automatically instruments `ActionMailer::MailDeliveryJob` and `deliver_now` uses `ActionMailer::MailDeliveryJob` under the covers, even tho the mail is being delivered synchronously!

Anyway, that particular "gotcha!" cost us about 80 engineering hours. Should we have given up sooner? Probably...

#Ruby #Rails #ActionMailer

One thing I was missing on Cloudflare Pages is better errors' #observability. As I don't use Sentry, there was no easy way to use Rollbar. Until today. I published the #Rollbar plugin for #CloudflarePages to NPM. https://github.com/hckr-studio/cloudflare-pages-plugin-rollbar
GitHub - hckr-studio/cloudflare-pages-plugin-rollbar: Rollbar integration plugin for Cloudflare Pages

Rollbar integration plugin for Cloudflare Pages. Contribute to hckr-studio/cloudflare-pages-plugin-rollbar development by creating an account on GitHub.

GitHub
馃悕 Are you using #Rollbar and want to add Celery to your web app? This is how I did that to give my #Django app the ability to run async tasks. https://www.mattlayman.com/blog/2017/django-celery-rollbar/
Rollbar monitoring of Celery in a Django app 路 Matt Layman

Rollbar provides some excellent middleware that makes setup a snap for a Django application. But what if you're running Celery with your Django application too? There are a few bumps in the road that I'll explain how to resolve.

Matt Layman
馃悕 Are you using #Rollbar and want to add Celery to your web app? This is how I did that to give my #Django app the ability to run async tasks. https://www.mattlayman.com/blog/2017/django-celery-rollbar/
Rollbar monitoring of Celery in a Django app 路 Matt Layman

Rollbar provides some excellent middleware that makes setup a snap for a Django application. But what if you're running Celery with your Django application too? There are a few bumps in the road that I'll explain how to resolve.

Matt Layman