GithubHelp home page GithubHelp logo

ronocod / sentry-ruby Goto Github PK

View Code? Open in Web Editor NEW

This project forked from getsentry/sentry-ruby

0.0 0.0 0.0 3.74 MB

Sentry SDK for Ruby

Home Page: https://sentry.io/for/ruby

License: MIT License

Shell 0.07% JavaScript 0.99% Ruby 94.97% CoffeeScript 0.04% CSS 0.25% Makefile 0.05% HTML 3.27% SCSS 0.36%

sentry-ruby's Introduction

Sentry

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

Sentry SDK for Ruby

current version build coverage downloads
Gem Version Build Status Coverage Status Downloads
Gem Version Build Status Coverage Status Downloads
Gem Version Build Status Coverage Status Downloads
Gem Version Build Status Coverage Status Downloads
Gem Version Build Status Coverage Status Downloads
Gem Version Build Status Coverage Status Downloads

Migrate From sentry-raven

The old sentry-raven client has entered maintenance mode and was moved to here.

If you're using sentry-raven, we recommend you to migrate to this new SDK. You can find the benefits of migrating and how to do it in our migration guide.

Requirements

We test on Ruby 2.4, 2.5, 2.6, 2.7, 3.0, and 3.1 at the latest patchlevel/teeny version. We also support JRuby 9.0.

If you use self-hosted Sentry, please also make sure its version is above 20.6.0.

Getting Started

Install

gem "sentry-ruby"

and depends on the integrations you want to have, you might also want to install these:

gem "sentry-rails"
gem "sentry-sidekiq"
gem "sentry-delayed_job"
gem "sentry-resque"
gem "sentry-opentelemetry"

Configuration

You need to use Sentry.init to initialize and configure your SDK:

Sentry.init do |config|
  config.dsn = "MY_DSN"
end

To learn more about available configuration options, please visit the official documentation.

Performance Monitoring

You can activate performance monitoring by enabling traces sampling:

Sentry.init do |config|
  # set a uniform sample rate between 0.0 and 1.0
  config.traces_sample_rate = 0.2
  # you can also use traces_sampler for more fine-grained sampling
  # please click the link below to learn more
end

To learn more about sampling transactions, please visit the official documentation.

Integrations

Enriching Events

Resources

  • Ruby docs
  • Forum
  • Discord Chat
  • Stack Overflow
  • Twitter Follow

sentry-ruby's People

Contributors

st0012 avatar nateberkopec avatar dcramer avatar coderanger avatar getsentry-bot avatar hazat avatar sl0thentr0py avatar dependabot[bot] avatar olleolleolle avatar vbrendel avatar seanlinsley avatar mitsuhiko avatar greysteil avatar mattrobenolt avatar eugeneius avatar jfirebaugh avatar byk avatar pmbrent avatar schneiderderek avatar huntrax11 avatar codekitchen avatar bruno-garcia avatar leaexplores avatar pcorliss avatar tricknotes avatar wdhorton avatar eagletmt avatar zarqman avatar hmarr avatar sue445 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.