Add support for Sentry error reporting
Overview
This MR adds support for Sentry error and log reporting in addition to Bugsnag that is currently supported. Since GitLab (the company) uses Sentry for all our applications and tools, we are changing the default log reporting service from Bugsnag to Sentry for the GitLab Sandbox Cloud deployment of HackyStack.
Bugsnag is still supported and you can use either Bugsnag or Sentry by configuring the Bugsnag API key or Sentry DSN variables in the .env
file.
See Sentry documentation to learn more.
New Features
-
Add Sentry Composer package -
Add Sentry DSN variables to .env
file -
Update log channels in config/logging.php
to use Sentry
Closes #104
Edited by Jeff Martin