opbeat_python
opbeat_python copied to clipboard
Python agent for Opbeat.
"djcelery" as an app does not exist anymore. This patch checks if Celery's signals module can be imported instead.
TODO: - [x] squash - [x] test
Hi, thanks for Opbeat, we very much enjoy using it. We're in the process of moving our Django app to use [RQ](http://python-rq.org)+[django-rq](http://github.com/ui/django-rq) and want to continue to get errors logged...
Example for pickle; works similar for JSON, YAML, … ```python def capture_serialization_exceptions(): from pickle import dumps from kombu import serialization from kombu.exceptions import DecodeError from opbeat.contrib.django.models import client def loads(s):...
https://github.com/opbeat/opbeat_python/blob/02af225ce1c2358d22061097352529a7e753d9ce/opbeat/base.py#L122
Are there plans to setup something like Codecov to track code coverage?
Only install django-celery for Django versions where it is actually used. This also requires to use Celery
Django Rest Framework ViewSets will show up as a single transaction even though a ViewSet might have different methods that provide different functionality.