Ahoy
bullet
Our great sponsors
Ahoy | bullet | |
---|---|---|
15 | 27 | |
4,048 | 6,976 | |
- | - | |
7.7 | 7.7 | |
2 months ago | 2 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Ahoy
-
Ahoy Captain: a full-featured, mountable analytics dashboard
A full-featured, mountable analytics dashboard for your Rails app, which is a blatant rip-off of heavily inspired by Plausible Analytics, powered by Ahoy. Open source, though lots of changing parts: https://github.com/joshmn/ahoy_captain
-
Best rails tools to automatically handle logging of things like all a user's actions, or changes to a record in a module - primarily for audit purposes.
For logging which functions were used you can use ahoy
-
How would you build an audit log in Rails for a high-throughput API?
Ahoy may be worth a try https://github.com/ankane/ahoy
-
Italian watchdog bans use of Google Analytics
I've slowly started ripping Google Analytics out of my Rails projects and replacing it with https://github.com/ankane/ahoy.
It's so much better! I can just use SQL to see what's going in and not get overwhelmed with 100's of visualizations and complicated dashboards.
-
Cookie-based tracking is dead
I did server-side tracking test in a rails app, where I implemented a tracking gem called ahoy and blazer for visualization. It is very easy to set up, but a bit hard to use. Blazer can do a very basic visualization of the data if you know your SQL queries.
-
Rails application boilerplate for fast MVP development
ahoy, ahoy_email and blazer for business intelligence
-
Active Analytics Ruby Gem
This gem could be considered as a new alternative to Ahoy https://github.com/ankane/ahoy
-
The Ruby Unbundled Series: Track How Customers Use New Features
After starting Rails and logging in, we can use Blazer to see our user metrics. Browse to our mount point, which on my development environment is at http://localhost:3000/blazer. Querying the ahoy_visits table shows us relevant information about the user and their session. We can also save this query as a shortcut to run it again later. After browsing to the page twice, I ran the following query on the events table. It gave the following results. Note that both events come from the same visit, which is equivalent to a session. We have seen how to track events on the server-side. Now let's look at how to accomplish this from the frontend in Javascript. To do this, we need to enable the Ahoy api in the config/initializers/ahoy.rb file, as shown below. Note that Ahoy also supports geocoding so that you can see where your users are located. We will not explore that feature in this article, but it is a nice capability from a metrics perspective.
- Simple and Free Web Analytics
bullet
- What was the name of the gem that finds all unindexed foreign keys?
-
Ban 1+N in Django
Rails has Bullet[0] to help identify and warn you against N+1
Does Django have anything active? Quick search revealed nplusone[1] but its been dead since 2018.
-
Inherited rails app - what the hell are all these rack timeout lines in the log?
Without seeing more of the app, it's tough to say for certain, but one gem you might find helpful is the [bullet](https://github.com/flyerhzm/bullet) gem -- set this up in the app then start browsing around the app in development. If you have any N+1 queries or other minor optimizations that could be done it will inform you about them.
-
A Guide to Memoization in Ruby
Getting rid of N+1 queries - This can help improve the speed of an app. The Bullet or Prosopite gems can give a lending hand here. The N+1 Dilemma — Bullet or Prosopite? entails a brief comparison of both.
-
Understanding N and 1 queries problem
There's a Ruby gem called Bullet that identifies and warns developers about N+1 problems. You can also have it fail tests if detected.
I don't know if the approach is possible with every ORM or if it's just leveraging some Ruby perks, but I can't think of a good reason why you wouldn't use the equivalent everywhere.
-
How do you find the cause of slowness in your app?
This is good advice, it'll likely pick out some glaring issues right away. I would generally recommend looking at DB queries here too and recommend Bullet, but most software like DataDog, AppSignal etc will often also point N+1 and issues like it out.
- What are the main suspects in a really slow Rails app?
-
Best way to learn query optimization?
You could add the bullet gem to your project. It can notify you (in a variety of ways) if your queries can be optimised.
-
My project: railstart app
bullet
-
Prosopite gem a year after its release hits 785 stars! Thanks!
I first posted prosopite in this subreddit a year ago as an alternative to bullet.
What are some alternatives?
prosopite - :mag: Rails N+1 queries auto-detection with zero false positives / false negatives
Impressionist - Rails Plugin that tracks impressions and page views
rack-mini-profiler - Profiler for your development and production Ruby rack apps.
Peek - Take a peek into your Rails applications.
Legato - Google Analytics Reporting API Client for Ruby
Derailed Benchmarks - Go faster, off the Rails - Benchmarks for your whole Rails app
active_analytics - First-party, privacy-focused traffic analytics for Ruby on Rails applications.
Staccato - Ruby library to perform server-side tracking into the official Google Analytics Measurement Protocol
Gabba - Simple way to send server-side notifications to Google Analytics
Analytical
The Chartable Ruby gem - A lightweight and database-level Ruby library to transform any Active Record query into analytics hash ready for use with any chart library.
benchmark-ips - Provides iteration per second benchmarking for Ruby