It's What's Inside that Counts!

Preview:

Citation preview

1Confidential ©2008-15 New Relic, Inc. All rights reserved.  

It’s What’s Inside that Counts!New Relic’s App-centric Docker Monitoring

Andrew Marshall – Sr. Product Marketing Manager

Adam Larson – Software Engineering Manager

©2008-15 New Relic, Inc. All rights reserved.  

2

It’s What’s Inside that Counts! New Relic’s App-centric Docker Monitoring

Andrew Marshall Sr. Product Marketing Manager New Relic Infrastructure Team PMM For Docker Monitoring

Adam Larson Software Engineering Manager New Relic Infrastructure Team Built New Relic’s Docker

Monitoring

Today’s webinar: 50 minutes + 10 minutes of Q&A

New Relic Confidential | 3

What we’ll cover in the next hour…

Why do I need Software Monitoring?New Relic 101, APM, and New Relic ServersWhat is Docker?How is Docker Used?Demo: Docker MonitoringGet Started Monitoring DockerQ&A

every business is becoming a

software business

Software Analytics is the category of analytics that gathers metrics in real-time

from live production software and transforms them into actionable data

010000100101001001010100101010100101000000001010

0101010110000010101000000010101010111110101010101

0111111010101010000101100100100101010101001010101

00101111101001010100101000001010101011101111111110

0101001010010101101001010001010010111111001010100

New Relic captures the customer interactions across all of your digital channels

These interactions form the story of your business.

010000100101001001010100101010100101000000001010

0101010110000010101000000010101010111110101010101

0111111010101010000101100100100101010101001010101

00101111101001010100101000001010101011101111111110

0101001010010101101001010001010010111111001010100

What Questions Do You Need To Answer?

ApplicationPerformance

CustomerExperience

BusinessSuccess

How many customers are using the app

right now?

Did the cloud migration succeed?

What changes influence business

success?

Can people usethe app?

Time from page load to initial experience?

What drives betterEngagement mobile

or web?

Is the application working?

Does the mobile app perform?

Which customers came closest to SLAs payouts?

Meet Market Expectations

Compete Be Awesome

Our integrated product suite

4 million+ app instances under

management

1 million+ website domains

monitored

Server monitoring from

the app perspective

475+ plugins

1 billion+ mobile app installs monitored

Trillions of data points collected

and stored

Software testing through simulated

usage

All figures as of September 30, 2014

• One single pane of glass for entire team to identify performance issues

• Support for the most popular coding languages and support for over 70 frameworks

• Production ready features provide deep code-level visibility with low overhead

• Deep-dive code-level diagnostics slash MTTR

Our integrated product suite

4 million+ app instances under

management

1 million+ website domains

monitored

Server monitoring from

the app perspective

475+ plugins

1 billion+ mobile app installs monitored

Trillions of data points collected

and stored

Software testing through simulated

usage

All figures as of September 30, 2014

Docker Monitoring lives here.

• Comprehensive overview of CPU, physical memory, network activity, disk I/O utilization and capacity

• Single dashboard to identify if problem areas are server related or app related

• One solution for the entire team to share whether focused on the application code, server capacity or both

• New! Docker monitoring from the App’s perspective

Server OverviewSee your servers from the App’s perspective

Quickly identify server resource issues:CPU, Memory, Disk, & Network

Clickable - Monitor server resources as they relate to your App

Monitor your processes resource utilization

Docker Monitoring from the App’s Perspective

Why do people care?• How are containers different from VMs?

In the beginning…

Server

libA v1.5

libB v0.8

libC v2.1

App 1

Dependency Hell

ServerlibA v1.5

libB v0.8

libC v2.1

App 1

libD v4.3

libA v3.0

libC v1.2

App 2

Introducing VMs

Server

VM2VM1

libA v1.5

libB v0.8

libC v2.1

App 1

libD v4.3

libA v3.0

libC v1.2

App 2

libB v0.8

But all was not well

• VMs are very resource heavy due to full machine virtualization• VMs are still very much ‘puppies’ • VMs take a long time to start up and shut down• VMs are not very portable

Introducing Docker

Server

Container 6Container 5libA v1.5

libB v0.8

libC v2.1

App 5

libA v3.0

libC v1.2

App 6

libB v0.8

Container 8Container 7libA v1.5

libB v0.8

libC v2.1

App 7

libA v3.0

libC v1.2

App 8

libB v0.8

Container 2Container 1libA v1.5

libB v0.8

libC v2.1

App 1

libA v3.0

libC v1.2

App 2

libB v0.8

Container 4Container 3libA v1.5

libB v0.8

libC v2.1

App 3

libA v3.0

libC v1.2

App 4

libB v0.8

Another view

Hardware

Operating System

App App App

Hardware

vHardware vHardware vHardware

OS OS OS

App App

Hardware

Operating System

vOS vOS vOS vOS vOS

App App App App App

No Virtualization

Traditional VMs

Docker “Virtualization”

App AppApp App

Docker Strengths

• Small and lightweight wrappers for your applications• Pushes dependency management up the stack to

developers • Works with existing tooling (e.g. Chef, Puppet, Vagrant,

Ansible)• Leverages old, well-established technologies vetted by big

names

What it means to whom:Developers:• Deployment is no longer a black box• “It works on my machine”• More architectural options

Ops:• Easier portability and rollback• Easier capacity planning• Patches are easier• More bang for your buck

Business: • More Lamborghinis• More maitais on the beach

What did we do for Docker?

What did we not do for Docker?

“App-centric” Docker monitoring

• Fix what was broken (i.e. make Docker feel first-class)• Prioritize useful information over impressive information• Don’t expect a PhD in sleuthing• Optimize for now since later isn’t clear

What does Docker mean for APM?

Servers

APM

Servers

APM

Docker Container Blindspot!

Without Docker:

With Docker:

What was busted?

Servers

APM

Servers

APM

DEMO

Prerequisites:

• Linux Server Monitoring prerequisites• A v1.4+ install of Docker• Must be run on a 64-bit host (Docker does not support 32-

bit systems)

Install steps:

• Install Linux Server Monitoring on your host

• Grant access to the Docker group

• Enjoy

#NRFastestDocker

Little stinkers•Containers as first-class nodes•Better swarm management•More metadata around containers

•CoreOS support•Better alerting

Get Started Monitoring Your Containers!

New to Docker? Download the eBook!Quickly learn how to use Docker and containers in general to create packaged

images for easy management, testing, and deployment of software. Access chapters 1-3 free.

newrelic.com/docker-book

STEP 1: DEPLOY NEW RELIC APMIf you haven't already, sign up to create your account then deploy New Relic's Application Performance Management. Need help with APM?

STEP 2: ENABLE NEW RELIC SERVERSInstalling the latest release of New Relic Server for Linux is a convenient way to get everything set up on your machine. Get it here.

STEP 3: Enjoy your wealth of Docker data!

34

Q & A

Adam Larson - @NR_AlarsonAndrew Marshall - @NRSaasquatch

Recommended