From d701cf456bba209f31387db6b43bf26b1251e188 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 6 Jun 2021 12:02:13 -0400 Subject: Install Honeybadger --- CHANGELOG.md | 3 +++ Capfile | 2 ++ Gemfile | 3 +++ Gemfile.lock | 2 ++ config/honeybadger.yml | 2 ++ 5 files changed, 12 insertions(+) create mode 100644 config/honeybadger.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fb1127..0f9a00c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### General +- Implemented monitoring (error tracking, uptime, server health, etc.) via Honeybadger. + ### UI - New inventory view, with items sorted into categories, and a (hopefully) better section for equipped items. diff --git a/Capfile b/Capfile index 138b8f8..194d896 100644 --- a/Capfile +++ b/Capfile @@ -36,3 +36,5 @@ require "capistrano/rails/migrations" # Load custom tasks from `lib/capistrano/tasks` if you have any defined Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r } + +require "capistrano/honeybadger" diff --git a/Gemfile b/Gemfile index 9c72bc5..cd96dbb 100644 --- a/Gemfile +++ b/Gemfile @@ -30,6 +30,9 @@ gem "bootsnap", ">= 1.4.4", require: false gem "devise" +# Monitoring +gem "honeybadger", "~> 4.0" + group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem "byebug", platforms: [:mri, :mingw, :x64_mingw] diff --git a/Gemfile.lock b/Gemfile.lock index 99c07ff..11f5886 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -111,6 +111,7 @@ GEM ffi (1.15.1) globalid (0.4.2) activesupport (>= 4.2.0) + honeybadger (4.8.0) i18n (1.8.10) concurrent-ruby (~> 1.0) jbuilder (2.11.2) @@ -282,6 +283,7 @@ DEPENDENCIES capybara (>= 3.26) devise ed25519 (>= 1.2, < 2.0) + honeybadger (~> 4.0) jbuilder (~> 2.7) listen (~> 3.3) pg (~> 1.1) diff --git a/config/honeybadger.yml b/config/honeybadger.yml new file mode 100644 index 0000000..c3efabc --- /dev/null +++ b/config/honeybadger.yml @@ -0,0 +1,2 @@ +--- +api_key: 'hbp_ZLKU5mzNdNbZoxj6CfDjXkRiFrKlLV0jukyE' -- cgit v1.2.3