An intro to the Docker Stats API

By Mark Bullet_white Posted in Examples Bullet_white Comments Comments

If I was teaching Server Health 101, I'd start with four key metrics:

  • CPU Usage
  • Memory Usage
  • Network I/O
  • Disk Utilization

The approach for fetching these metrics on Linux hosts is tried-and-true (hint: look in the /proc folder). However, I was curious about Docker Containers: where do I access these critical metrics? What tools does Docker provide? Are there any gotchas?

Read on for what I found.

Read More →

 

Docker ETP Program

By Mark Bullet_white Comments Comments

Our friends at Docker today announced that we are part of their new ETP (Ecosystem Technology Partner) program. We couldn't be more excited!

Docker has done a great job of creating an API that allows anybody to track performance metrics, container events and metadata about their containers. What we've done - is simplified that interface, and added Docker integration to the Scout dashboards and alerting that you already know and love.

We <3 Docker and the on-going shift towards isolated microservices. If you haven't already - check out these blogs we've written about Docker:

Questions? Comments? Reach out to us here or follow us on Twitter for more monitoring news.

 

Implementing Docker event monitoring from scratch

By Mark Bullet_white Posted in Examples Bullet_white Comments Comments

docker events dashboard

Docker's API provides a ton of functionality around containers and images - but there is a hidden secret, one that is easy to miss in the documentation: Docker's API has the capability to report host wide events! Container events like: die, restart & out of memory. With a simple GET request, these events are available for processing.

I'll take a look at how we can tap into this functionality, and how we can convert raw data into meaningful dashboards and alerts.

Read More →

 

Django Application Monitoring (APM) with StatsD

By Mark Bullet_white Posted in HowTo Bullet_white Comments Comments

November 2017 Update - This post covers instrumenting a Django app with StatsD. For a more full-featured APM solution, signup for early access to Python App Monitoring.

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 ... 14 15 16 17 18 ... 66