Popularity
2.4
Declining
Activity
0.0
Stable
5
1
1
Programming language: Crystal
License: MIT License
Tags:
Third-party APIs
bugsnag.cr alternatives and similar shards
Based on the "Third-party APIs" category.
Alternatively, view bugsnag.cr alternatives based on common mentions on social networks and blogs.
-
open_exchange_rates
A library to access Open Exchange Rates API -
fantasy_football_nerd_api
A library for the Fantasy Football Nerd API
Get performance insights in less than 4 minutes.
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Promoted
scoutapm.com
Do you think we are missing an alternative of bugsnag.cr or a related project?
README
bugsnag.cr
bugsnag exception notifier written in crystal. Supports sidekiq.cr, kemal, HTTP::Server.
bugsnag.cr is heavily inspired by (read: stolen) airbrake-crystal. Thanks.
Usage
Reporting handled exceptions:
require "bugsnag"
begin
raise "Something went wrong!"
rescue => exception
Bugsnag.notify(exception)
end
sidekiq
require "bugsnag"
require "bugsnag/sidekiq"
cli = Sidekiq::CLI.new
server = cli.configure do |config|
config.server_middleware.add Bugsnag::Sidekiq.new
end
HTTP::Server
require "http/server"
require "bugsnag"
require "bugsnag/http_handler"
server = HTTP::Server.new("0.0.0.0", 1337,
[
Bugsnag::HttpHandler.new
]) do |context|
raise "narf"
end
server.listen
Kemal
require "kemal"
require "bugsnag"
require "bugsnag/http_handler"
add_handler Bugsnag::HttpHandler.new
get "/" do |env|
raise "narf"
end
Kemal.run
Configuration
require "bugsnag"
Bugsnag.configure do |config|
config.api_key = "YOUR_API_KEY_HERE"
end
Installation
Add bugsnag.cr as a dependency in shards.yml
dependencies:
bugsnag:
github: gewo/bugsnag.cr
Run shards update
to download.