Save 37% off PRO during our Black Friday Sale! »

僕がDatadogを使うわけ

32f2e5ddb187baa2abac66d7e8b283fe?s=47 Seigo Uchida
February 24, 2015

 僕がDatadogを使うわけ

2015/02/24 #dd_sushi での発表資料。

自分が Wantedly にて Datadog を導入した理由、用途、使い方について発表しました。

32f2e5ddb187baa2abac66d7e8b283fe?s=128

Seigo Uchida

February 24, 2015
Tweet

Transcript

  1. DD I @spesnova

  2. @spesnova

  3. Favorites &

  4. None
  5. ࠓ೔ͷ࿩ ๻͕DatadogΛ࢖͏ཧ༝ Θ͚

  6. ͳͥ࢖ͬͯΔ͔

  7. ɾ࣮༻ੑߴ͍! ɾΠϯϑϥ୲౰গͳ͍! ɾDocker αϙʔτ DatadogΛ࢖͏ཧ༝

  8. ؂ࢹ؀ڥߏஙͯ͠ɺ! Ξϥʔτઃఆͯ͠ɺ! ϝτϦΫεͷՄࢹԽͨ͠ͱ͜ΖͰɺ લ৬ͰͷܦݧʢNagiosʣ ΋͏͢Ͱʹർฐͯ͠Δ

  9. લ৬ͰͷܦݧʢNagiosʣ ແࢹ͞ΕΔΞϥʔτ! ࢖ΘΕͳ͍άϥϑ

  10. ؂ࢹ؀ڥߏஙͯ͠ɺ! Ξϥʔτઃఆͯ͠ɺ! ϝτϦΫεΛՄࢹԽ͢Δ ϞχλϦϯά ϞχλϦϯά ʢϞχλϦϯάͷҰ෦Ͱ͸͋Δʣ ≠

  11. Ξϥʔτʹ൓Ԡ͠ɺ! ϝτϦΫεΛݟͯݪҼΛಥ͖ࢭΊɺ ໰୊Λղܾ͢Δͱ͜Ζ·Ͱ ϞχλϦϯά ʹ ϞχλϦϯά

  12. 㱺 ໰୊ղܾ͢Δͱ͜Ζ·ͰࢸΔ

  13. Կʹ࢖ͬͯΔ͔

  14. ɾsystem! ɾEC2! ɾRDS ؂ࢹͯ͠Δ΋ͷ

  15. ɾPostgreSQL! ɾMySQL! ɾElasticsearch! ɾNginx ؂ࢹͯ͠Δ΋ͷ

  16. ɾDocker ؂ࢹͯ͠Δ΋ͷ

  17. Slack / Pagerduty ʹ௨஌

  18. Capistrano ͷΠϕϯτΛૹΔ IUUQTHJUIVCDPN%BUB%PHEPHBQJSCUSFFNBTUFSMJCDBQJTUSBOP IUUQTHJUIVCDPN%BUB%PHEPHBQJSCUSFFNBTUFSMJCDBQJTUSBOP

  19. Ͳ͏࢖ͬͯΔ͔

  20. dd-agent ίϯςφ IUUQRJJUBDPNTQFTOPWBJUFNTCGDDFEEGDFB $ docker run \ -d \ --privileged

    \ --name dd-agent \ -h `hostname` \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /proc/mounts:/host/proc/mounts:ro \ -v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \ -e API_KEY=<DATADOG_API_KEY> \ datadog/docker-dd-agent
  21. EC2 EC2 EC2 EC2 dd-agent ίϯςφ / Ϛγϯ

  22. ɾCPU / ίϯςφ ! ɾCPU / Ϛγϯ! ɾMemory / Ϛγϯ!

    ɾMemory / ίϯςφ! ɾIO / Ϛγϯ! ɾNetwork / Ϛγϯ! ɾίϯςφ਺ɺछྨ جຊతͳ΋ͷ͸औΕͯΔ
  23. ίϯςφ / Πϝʔδ͝ͱʹݟΔ

  24. αʔϏε؂ࢹ $ docker run \ -d \ --privileged \ --name

    dd-agent \ -h `hostname` \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /proc/mounts:/host/proc/mounts:ro \ -v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \ -v /etc/dd-agent/conf.d/nginx.yaml:/etc/dd-agent/conf.d/ nginx.yaml \ -e API_KEY=<DATADOG_API_KEY> \ datadog/docker-dd-agent
  25. EC2 EC2 EC2 EC2 αʔϏε؂ࢹ

  26. PostgreSQL on RDS

  27. ݪҼڀ໌ ɾ໰୊ͷ͋Δάϥϑͱଞͷάϥϑͷ૬ؔΛݟΔ! ɾ໰୊ͷ͋Δ࣌ؒલޙͷΠϕϯτΛݟΔ! ɾ໰୊ͷ͋Δ࣌ؒલޙͷϩάΛݟΔ

  28. εςʔλεϖʔδ IUUQTUBUVTEBUBEPHIRDPN IUUQTUXJUUFSDPN%BUBEPH0QT

  29. ΩϟονΞοϓ IUUQTXXXEBUBEPHIRDPNCMPH

  30. ·ͱΊ

  31. ࠓޙ ɾSSH ϞχλϦϯάೖΕ͍ͨ! ɾetcd ϞχλϦϯάࢼͯ͠ΈΔ! ɾGo ϞχλϦϯάࢼͯ͠ΈΔ! ɾϓϥάΠϯॻ͍ͯΈΔ

  32. ·ͱΊ Datadog͍͍

  33. Thanks!