sul-dlss / was-pywb

Configuration for Stanford's pywb instance
https://swap.stanford.edu
Other
2 stars 0 forks source link

Monitor errors with Honeybadger #63

Open edsu opened 2 years ago

edsu commented 2 years ago

It should be possible to use Honeybadger to monitor Python and JavaScript application errors:

The Python one will likely involve creating a new file based on https://github.com/webrecorder/pywb/blob/main/pywb/apps/wayback.py and configuring our uwsgi config to point to it. If we choose that route we would need to monitor it for upstream changes. We should weigh whether this complexity is a price worth paying for Honeybadger alerts for this third party application software (pywb). We didn't do it for openwayback.

Monitoring JavaScript errors should be easy to add, but it might turn out to be tricky in practice since the web archive itself contains lots of JavaScript. Will Honeybadger report on errors in archived JavaScript?

ndushay commented 2 years ago

What is honeybadger monitoring here, since pywb is third party code?

lwrubel commented 2 years ago

Iceboxing since we decided that we're not going to alert on third-party code at this time.