Technology moves fast! ⚡ Don't get left behind.🚶 Subscribe to our mailing list to keep up with latest and greatest in open source projects! 🏆


Subscribe to our mailing list

notable

Extraordinary insight into your users and background jobs

Subscribe to updates I use notable


Statistics on notable

Number of watchers on Github 162
Number of open issues 0
Average time to close an issue 3 days
Main language Ruby
Open pull requests 0+
Closed pull requests 0+
Last commit about 2 years ago
Repo Created over 4 years ago
Repo Last Updated over 1 year ago
Size 26 KB
Organization / Authorankane
Contributors1
Page Updated
Do you use notable? Leave a review!
View notable activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating notable for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Notable

:star2: Extraordinary insight into your users and background jobs

Wouldnt it be great to see when one of your users encounters an error, timeout, or validation failure? Now you can - directly in your admin pages.

Introducing Notable

Notable tracks notable requests and background jobs and stores them in your database. What makes a request or job notable? There are a number of default situations, but ultimately you decide what interests you.

By default, Notable tracks:

  • errors
  • 404s
  • slow requests and jobs
  • timeouts
  • validation failures
  • CSRF failures
  • unpermitted parameters
  • blocked and throttled requests

You can track custom notes as well.

:tangerine: Battle-tested at Instacart

Installation

Add this line to your applications Gemfile:

gem 'notable'

And run:

rails generate notable:requests
rails generate notable:jobs
rake db:migrate

For a web interface, check out Notable Web.

Requests

A Notable::Request is created for:

  • errors
  • 404s
  • slow requests
  • timeouts
  • validation failures
  • CSRF failures
  • unpermitted parameters
  • blocked and throttled requests

For timeouts, use Slowpoke.

For blocked and throttled requests, use Rack Attack.

Jobs

Wouldnt it be great to have a record of exact jobs that fail?

A Notable::Job is created for:

  • errors
  • slow jobs
  • validation failures

Manual Tracking

Notable.track(note_type, note)

Like

Notable.track("Auth Event", "Signed In")

Customize

Disable tracking in certain environments

Notable.enabled = Rails.env.production?

Requests

Set slow threshold

Notable.slow_request_threshold = 5 # seconds (default)

Custom user method

Notable.user_method = -> (env) {
  env["warden"].try(:user) || env["action_controller.instance"].try(:current_visit)
}

Custom track method

Notable.track_request_method = -> (data, env) {
  Notable::Request.create!(data)
}

Skip tracking CSRF failures

skip_before_action :track_unverified_request

Jobs

Set slow threshold

Notable.slow_job_threshold = 60 # seconds (default)

Custom track method

Notable.track_job_method = -> (data) {
  Notable::Job.create!(data)
}

TODO

  • ability to disable features
  • add indexes

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

notable open issues Ask a question     (View All Issues)
  • about 3 years Feature: Ability to disable features
  • over 3 years Mongoid support
  • over 3 years Default logging not working
notable questions on Stackoverflow (View All Questions)
  • Picking notable words from dictionary
  • DB2 COALESCE - notable impact on query time execution
  • Notable to access application outside the Azure remote desktop
  • How to map mid of notable types of freebase to the type name?
  • Notable to read .xls format file using roo gem
  • Notable to link javascript object and angularjs in controllers
  • Access to notable types in Freebase without using Freebase API
  • notable to create spinner in fragment
  • Java - Runnable JAR - Notable execution time differences
  • Can someone point me to a Java library that actually compresses files, with a notable size difference?
  • Notable to access folder in root directory
  • Is there a notable performance decrease when using SVG instead of PNG/JPG/GIF on a web page?
  • A topic on freebase has only one notable type?
  • notable image quality loss when importing from iOS library
  • What Notable Differences are there between Railo, Open Bluedragon, and Adobe Coldfusion?
  • What are the most notable effects of adding android:targetSdkVersion="10" and why does it control the presence of "Menu" button on Android 3.1 tablet?
  • public Abstract notable examples
  • UITableView adding rows with animation one at a time with notable delay
  • What is the most notable difference between Jenkins and Hudson from an user perpective?
  • Do notable applications use cocos2d?
  • How much a performance boost is worthy/notable?
  • JRuby vs YARV performance ---notable difference?
notable list of languages used
Other projects in Ruby