"HowTo" Posts


3 Git Productivity Hacks

By Mark Bullet_white Posted in HowTo Bullet_white Comments Comments

Most Ruby developers use Git for their version control system of choice. Git is a wonderful tool that can save you countless hours of lost productivity and makes collaborating with others a cinch. Git's distributed nature also allows devs to work anywhere with or without an internet connection without fear of losing work.

With all of the power that Git provides also comes some complexity. Newcomers to Git may find it's syntax somewhat unintuitive and clunky at first. Even Git power users often have to lookup lesser known Git subcommands and options from time to time. Git is similar to a Swiss Army knife in that it contains many useful tools, but can take some time to master or even find a use for them all.

The goal of this post it to describe some lesser known features of Git and how you can leverage these to improve your Git workflow.

Let's get started.

Read More →

 

Pillars of the Rails Monitoring Stack: 2016 Edition

By Derek Bullet_white Posted in HowTo Bullet_white Comments Comments

Curious about the tools a monitoring company like us uses to monitor our own Rails apps? Here's a behind-the-scenes rundown of how we ensure our apps are in peak condition heading into 2016.

Stop searching for a single tool

There's no single, do-everything tool that completely monitors a modern-day Rails stack. If there was, it'd be the software equivalent of the Homer Simpson-designed car. There's simply too many specialized things to put into a single monitoring app.

However, there's good news: a number of specialized apps play well together to give you great monitoring coverage of your Rails apps and infrastructure.

When picking a monitoring solution, you can typically choose between two options:

  1. Open Source
  2. Paid Hosted Service

The upsides of open source: free to install and more customizable. The downsides: generally more difficult to use and fairly complex to maintain.

Most of the monitoring services we use are paid services. We typically only use open source options when the paid, hosted option is significantly cost prohibitive. Monitoring software is complicated and keeping your own stack running can be a time-sink. The last thing we want is unreliable software monitoring our apps.

Read More →

 

The Curious Case of the StatsD Timer

By Mark Bullet_white Posted in HowTo Bullet_white Comments Comments

statsd-timer

Instrumenting our application with StatsD is easy, especially when we just stick to Counters and Gauges. These metrics return just a single value when implemented. When you get to Timers, however, StatsD steps up it's game and returns eight metrics.

So let's explore the curious case of the timing metric. What do all these metrics mean? How can we use this for instrumenting our application?

Read More →

 

Django Application Monitoring (APM) with StatsD

By Mark Bullet_white Posted in HowTo Bullet_white Comments Comments

One of the basic tenets in DevOps is that we measure EVERYTHING.

StatsD is the open source darling that has quickly turned into our tool of choice for measuring "all the things". StatsD is logging for metrics.

Instrumenting your application code via StatsD is lightweight, both in terms of syntax and overhead. It's the missing swiss army knife in your measurement toolbelt.

However, there are two sides to the StatsD equation:

  • Instrumenting your code (easy)
  • Setting up infrastructure to view your metrics

...well that second step is pretty involved. I'm antsy to get some StatsD in place. Let's cheat: we'll use use Scout as our StatsD backend. We'll have a dashboard like this in minutes:

django_dash

Read More →

 

StatsD update to docker-scout

By Mark Bullet_white Posted in Updates, HowTo Bullet_white Comments Comments

We've all been exploring Docker lately, and back in March, we published Monitoring Docker with docker-scout with how to get started with Scout and Docker.

statsd

Today, we are excited to announce that we updated this container to include StatsD. Just like in our previous post, Rails App Monitoring (APM) with StatsD, we've made StatsD ridiculously easy to setup. Simply add the scout-docker container to your existing infrastructure and quickly start working with StatsD across all your containers. Here's how it works:

Read More →

 

Rails App Monitoring (APM) with StatsD

By Mark Bullet_white Posted in HowTo, Features Bullet_white Comments Comments

Application monitoring doesn't have to be complicated. Introducing scout_statsd_rack, a drop-in Ruby gem for monitoring key performance metrics in your Rails app.

scout_statsd_rack leverages StatsD for lightweight Rails app monitoring via Rack middleware.

Lets see how fast we can go from no monitoring to a Rails performance dashboard plus alerting.

rails app monitoring

Read More →

 

Older posts: 1 2 3 ... 5