https://github.com/rubyonjets/sentry-jets
Sentry exception report support for Jets
https://github.com/rubyonjets/sentry-jets
jets rubyonjets sentry serverless
Last synced: 11 months ago
JSON representation
Sentry exception report support for Jets
- Host: GitHub
- URL: https://github.com/rubyonjets/sentry-jets
- Owner: rubyonjets
- License: mit
- Created: 2018-11-15T19:21:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-24T21:07:43.000Z (over 2 years ago)
- Last Synced: 2024-05-21T16:15:08.319Z (almost 2 years ago)
- Topics: jets, rubyonjets, sentry, serverless
- Language: Ruby
- Size: 13.7 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Sentry Jets
[](https://rubygems.org/gems/sentry-jets)
[](https://www.boltops.com)
[Sentry](https://sentry.io) is an error tracking service that helps developers monitor and fix crashes in real time.
This gem adds Sentry error reporting support to [Jets: Ruby Serverless Framework](http://rubyonjets.com/).
This gem is not officially associated and written by Sentry. This is written by [tongueroo](https://www.linkedin.com/in/tongueroo/). Looking for maintainers or someone who would like to see if they can get this integrated to the official [sentry-ruby](https://github.com/getsentry/sentry-ruby) gem instead. At which point, this gem should be deprecated.
## Installation
Add this line to your Jets project Gemfile:
```ruby
gem 'sentry-jets'
```
And then execute:
bundle
Add the `SENTRY_DSN` env variable to the `.env` file in your project. Here's an example of what `SENTRY_DSN` looks like.
.env:
SENTRY_DSN=https://generated-random-user:generated-random-token@sentry.io/project-id
To get a `SENTRY_DSN`, sign up for an account at [sentry.io](https://sentry.io) and create a project. For more info on [Env Files](http://rubyonjets.com/docs/env-files/), refer to the Jets docs.
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/tongueroo/sentry-jets.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).