Sha256: 57f11afa946e625e6d90995fe9ff853e160641688e66de8c5fc15c5ac4dae3f8
Contents?: true
Size: 888 Bytes
Versions: 6
Compression:
Stored size: 888 Bytes
Contents
# PeakflowUtils Various tools to use with www.peakflow.io. ## Installation Add this line to your application's Gemfile: ```ruby gem "peak_flow_utils" ``` And then execute: ```bash $ bundle ``` Or install it yourself as: ```bash $ gem install peak_flow_utils ``` Add this to `config/peakflow.rb`: ```ruby PeakFlowUtils::Notifier.configure(auth_token: "your-token") ``` ## Usage ### Reporting errors manually ```ruby PeakFlowUtils::Notifier.notify(error: error) ``` ### Reporting Rails errors Add this to `config/peakflow.rb`: ```ruby PeakFlowUtils::NotifierRails.configure ``` ### Reporting Sidekiq errors in Rails: Add this to `config/peakflow.rb`: ```ruby PeakFlowUtils::NotifierSidekiq.configure ``` ## Contributing Contribution directions go here. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Version data entries
6 entries across 6 versions & 1 rubygems