…see that John created a MongoDB Monitoring plugin and like all Scout plugins, installing it is a button click (and possibly a Ruby gem install) away.
Mongo Monitoring Walkthru
John's MongoDB Monitoring plugin gives both an overview of key Mongo performance metrics and a detailed display when you need to dig deeper.
The overview:
The details:
View a chart of each metric:
Mongo Q&A with John
At Scout HQ, I brought out some hot cocoa, lit a fire, …
…can do for you.
Harmony's numbers are not going to impress anyone right now, but I will post a few screenshots so you can get some idea of what the plugins look like before running off to install them.
With the addition of these three plugins, in cooperation with the slow query plugin, and entirely thanks to Scout, I now have lots of numbers and graphs that allow me to watch growth. Fun stuff!
What are you using to keep track of Mongo?
Eric Lindvall of Cloudvox has created a CPU Usage plugin for the Scout directory.
The plugin uses the same underlying data that vmstat uses in /proc to give you the CPU usage for the full duration between scout runs.
This means the sampling interval for the plugin is equal to your Scout execution interval -- three minutes for an Ultimate account, etc.
Understanding CPU Usage Metrics
The CPU Usage plugin provides the following:
% System: percentage of time spent in the kernel
…or the report fails to happen as scheduled, you get detailed warnings of it. My sole problem with Scout is that it is one chatty little robot: by default, it sends me emails about things like not-even-close-to-critical demand spikes (you went to 2% CPU utilization for a minute? Poor baby! My business got linked to from Reddit and requests spiked 1,000% without any performance degradation: great, why are you telling me?). After a few weeks of tuning I've mostly shut it up about …
• Scout has a strong set of plugins to choose from built by their community, so it's not too simple but won't bog you down in complexity.
• Scout can be deployed in less than five minutes.
• Scout allows you to monitor scripts from their web interface, so there's no more monitoring scripts by hand on multiple servers.
• It's just $ 19 a server.
We found this review that compares it to other monitoring services as well as this one …
Andrew over on the Scout blog shows a neat technique for tracking goals with Google Analytics and Rails.
Debug-level Logging for a Single Rails Production Request
Andy Jeffries goes over a technique for debugging a single request on a production app.
Solving the memory leak in "god load"
Eric Lindvall goes over how he finally solved the memory leak in god.
…HTTP statuses, Rails action cache stats, and similar. You can couple this with Scout's regular graphs and e-mail alert systems to get notified about "interesting" occurrences with your applications right as they happen.
Lastly, Scout has a strong plugin ethos, so it's not like it's just a Rails service - though that's what I'm focusing on here. You can write your own plugins to monitor whatever you like.. so even if you do monitor a Rails app, if you …
…Three Months of Dev work. Here's What We Learned - Good writeup from the Scout team of what was behind some of their recent changes. Part of being smart is knowing when to give up on a feature.
Ruby DSL Trick With the Hash - Cute little bit of sugar for your Capistrano deployment files.
Loofah - Very flexible HTML sanitizer based on Nokogiri.
Introducing Warp Drive for Rails - This looks something like the (so far vaporware) Rails 3 …
…Scout Plugin Directory. It's about time PostgreSQL got some love from the Scout community!
The PostgreSQL monitoring plugin tracks the basics you really need to know about your PostgreSQL setup (query rates, buffer cache hits, etc).
Don't forget that you can get alerts when these metrics change dramatically using Scout's triggers. For example, you could create a trend trigger to alert you of a dramatic drop in the Buffer cache hit rate .
You can view more …
Using Oink with Scout is easy - just follow the steps here . It's the same steps for using Oink+RLA outside of Scout, with an additional step for updating/installing your Scout plugin.
By default, you'll get an alert when a request results in a memory increase of 50 MB. You can change this threshold in the plugin settings.
The summary memory data is automatically added to your daily Rails performance report.
Scout comes with a free 30 day trial, so you take …