Scaling monitoring
with
Datadog
Agenda
. What is Datadog?

. How does it help me scale monitoring?
Thank you #$%! Peter and Denise...
Thank you Dear Sponsor !
Thank you Dear Host !
whoami
Alexis Midon
Backend Engineer
a year in DevOps, by accident
environment
What is Datadog?
Datadog
. Monitoring service
. agent based
. integrated with AWS
. resource tagging
Datadog - cont’d
. Metrics and Alerts
. Correlation features
. Collaboration features
. Custom Dashboards
Event Stream
Default Instance Dashboard
nice, but...
How do you help me deal with:
N components: mongo, redis, nodejs, ...
x P environments: prod-1, prod-2, staging, …
x Q ver...
help me scale!
How does Datadog help?
#1 pre-canned tools
pre-canned integrations
pre-canned dashboards
#2 Templated Dashboards
A dashboard can have multiple variables.
Edit once, and re-use.
$environment $zone $tier $asg ...
a template example
not bad but
Gimme API !!!
We can code:
. instance configuration
. infrastructure
Why not monitoring?
#3 Datadog has a great API.
. events, metrics, event,
tags, dashboard, alerts, …
. bindings for python, ruby, node.js, etc...
plain json + curl
using the ruby gem
Now, I can:
. version control my dashboards, alerts
. code my monitoring resources
. integrate with my provisioning tool
Integration example:

CloudFormation++
CloudFormation++
. a CFN template usually has related
dashboards and alerts.
. same life-cycle

e.g. app tier:
. dashboard...
CloudFormation++
stack = CloudFormation + Datadog
$ rake stack:app:create
executing stack:app:cloudformation:create
execut...
in git
/stacks
/app
app_cfn_template.json
app_datadog.rb
app_http_alerts.json
be creative
datadog.rb is evaluated in a rich context.
It has access to everything.
very flexible.
Cons / Pain points :-(
. still have to deal with some json
. room for drift - if users manually edit
resources
. resource ...
Pros
. monitoring has code
. all the benefits of using code:
tests, versioning, tracking, DRY, bugs, ...
Summary
Go code your Monitoring,
with the awesome Datadog API.
impressed ?
Thank you!
Scaling monitoring
with
Datadog
Scaling monitoring with Datadog
Scaling monitoring with Datadog
Upcoming SlideShare
Loading in...5
×

Scaling monitoring with Datadog

1,127

Published on

Published in: Technology
1 Comment
3 Likes
Statistics
Notes
No Downloads
Views
Total Views
1,127
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
25
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide

Scaling monitoring with Datadog

  1. 1. Scaling monitoring with Datadog
  2. 2. Agenda . What is Datadog? . How does it help me scale monitoring?
  3. 3. Thank you #$%! Peter and Denise...
  4. 4. Thank you Dear Sponsor !
  5. 5. Thank you Dear Host !
  6. 6. whoami Alexis Midon Backend Engineer a year in DevOps, by accident
  7. 7. environment
  8. 8. What is Datadog?
  9. 9. Datadog . Monitoring service . agent based . integrated with AWS . resource tagging
  10. 10. Datadog - cont’d . Metrics and Alerts . Correlation features . Collaboration features . Custom Dashboards
  11. 11. Event Stream
  12. 12. Default Instance Dashboard
  13. 13. nice, but...
  14. 14. How do you help me deal with: N components: mongo, redis, nodejs, ... x P environments: prod-1, prod-2, staging, … x Q versions: app-blue, app-green, etc x R users
  15. 15. help me scale!
  16. 16. How does Datadog help?
  17. 17. #1 pre-canned tools pre-canned integrations pre-canned dashboards
  18. 18. #2 Templated Dashboards A dashboard can have multiple variables. Edit once, and re-use. $environment $zone $tier $asg ...
  19. 19. a template example
  20. 20. not bad but
  21. 21. Gimme API !!! We can code: . instance configuration . infrastructure Why not monitoring?
  22. 22. #3 Datadog has a great API. . events, metrics, event, tags, dashboard, alerts, … . bindings for python, ruby, node.js, etc . command-line
  23. 23. plain json + curl
  24. 24. using the ruby gem
  25. 25. Now, I can: . version control my dashboards, alerts . code my monitoring resources . integrate with my provisioning tool
  26. 26. Integration example: CloudFormation++
  27. 27. CloudFormation++ . a CFN template usually has related dashboards and alerts. . same life-cycle e.g. app tier: . dashboards for ELB and front-end instances . alerts on HTTP errors, etc
  28. 28. CloudFormation++ stack = CloudFormation + Datadog $ rake stack:app:create executing stack:app:cloudformation:create executing stack:app:datadog:create
  29. 29. in git /stacks /app app_cfn_template.json app_datadog.rb app_http_alerts.json
  30. 30. be creative datadog.rb is evaluated in a rich context. It has access to everything. very flexible.
  31. 31. Cons / Pain points :-( . still have to deal with some json . room for drift - if users manually edit resources . resource tracking can be tricky
  32. 32. Pros . monitoring has code . all the benefits of using code: tests, versioning, tracking, DRY, bugs, ...
  33. 33. Summary Go code your Monitoring, with the awesome Datadog API.
  34. 34. impressed ?
  35. 35. Thank you!
  36. 36. Scaling monitoring with Datadog
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×