application performance monitoring using datadog

25
WhiteHedge @ thewhitehedge [email protected] WhiteHedge .com/DevOps/ Application Performance Monitoring using DataDog Case Study of Performance monitoring for a client in the Media and Mobile domain

Upload: whitehedge-technologies-inc

Post on 15-Apr-2017

88 views

Category:

Software


3 download

TRANSCRIPT

Page 1: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Application Performance Monitoring using DataDog

Case Study of Performance monitoring for a client in the Media and Mobile domain

Page 2: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Application Monitoring

Ensure that a software application processes and performs in an expected manner and scope

APM Runtime MetricsHealth of the application

Health of infrastructure

Provide system/application

feedback

Continuous Improvement

Page 3: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

What is Datadog?

Monitoring as a Service

Agent Based

Python

Integrations

Dashboards

Tagging

Alerts

Checks

Page 5: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Challenge

Monitor System Health

Monitor Redis, MongoDB

Application (API Server) runs as docker container

Monitor application performance

Logging slowed down performance

Rapid development, No feedback mechanism about the application performance

Insight in application needed by management

Insight needed by support, devops and developers

Page 10: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

How to impress the management?!

How to deal with X environments and Y versions?

How to measure performance, without affecting performance?

Page 11: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Overview Dashboard

Dummy

Dummy

Dummy

Dummy

Dummy

Page 12: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Debug: API Error Rate

Which endpoint is having more errors? Which error codes are being thrown? Search logs in Loggly if needed.

Page 13: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Datadog API

We can code: Instance configuration Infrastructure Deployments

Why not monitoring?!

Datadog has great API

Page 14: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Datadog module for nodejs

Page 15: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Measuring http response times from application code

Page 16: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Plot it!

Dummy1

Dummy2

Dummy3

Dummy4Dummy Data

Page 17: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

What about performance while tracking performance?

Metrics from code are sent to local datadog agent using UDP

Local datadog agent syncs the metrics to the datadog server

Datadog dashboard reflects the metrics with some delay

Application performance does not get affected

Page 18: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

MixPanel

Metrics are sent from device (mobile/tablet/web) to MixPanel

Real Data

Integrate MixPanel with DataDog

Top 5 users of the application by Country

Page 19: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Extending the approach to Test Env

Page 20: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Datadog Tags

Inherited from Integrations

Custom tags

Page 21: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Templated Dashboards

Dashboard variables

Dynamically explore metrics

Page 23: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Datadog Checks

Collect metrics from datadog agent check

Out of the box agent checks

Custom agent checks in Python

Interesting use cases: Keep alive check (Service is up) Network Check (HTTP, TCP) Validate response for expected data

Page 24: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]/DevOps/

Using Datadog

Monitor dynamic infrastructure

Monitor system health

Monitor application availability

Monitor application performance

Show application & infra health graphically

Provide feedback about health of system

Page 25: Application Performance Monitoring using Datadog

WhiteHedge

@[email protected]

GET IN TOUCH WITH US

esitate!

http://www.whitehedge.com/devops.html

http://www.whitehedge.com/docker-microservices/

http://www.whitehedge.com/docker-microservices/