Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
僕がDatadogを使うわけ
Search
Seigo Uchida
February 24, 2015
Technology
12
4k
僕がDatadogを使うわけ
2015/02/24 #dd_sushi での発表資料。
自分が Wantedly にて Datadog を導入した理由、用途、使い方について発表しました。
Seigo Uchida
February 24, 2015
Tweet
Share
More Decks by Seigo Uchida
See All by Seigo Uchida
Kubernetes Cluster Monitoring
spesnova
2
5.7k
How we monitor microservices at Mercari microservices platform team
spesnova
13
10k
Kubernetes RBAC in microservices
spesnova
6
4.1k
Introduction to kustomize
spesnova
17
43k
Kubernetes 運用設計ガイド / A design guide for Kubernetes in production (Japanese)
spesnova
80
18k
Microservices Monitoring at mercari
spesnova
3
3.9k
Monitoring Kubernetes with Datadog
spesnova
12
4.4k
My Docker Best Practice (2016 Winter Short Version)
spesnova
33
7.5k
CoreOS 運用の所感
spesnova
17
9.3k
Other Decks in Technology
See All in Technology
メンバーがオーナーシップを発揮しやすいチームづくり
ham0215
2
140
技術に触れたり、顔を出そう
maruto
1
150
comilioとCloudflare、そして未来へと向けて
oliver_diary
6
450
GoogleのAIエージェント論 Authors: Julia Wiesinger, Patrick Marlow and Vladimir Vuskovic
customercloud
PRO
0
160
今年一年で頑張ること / What I will do my best this year
pauli
1
220
あなたの人生も変わるかも?AWS認定2つで始まったウソみたいな話
iwamot
3
860
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
54k
ゼロからわかる!!AWSの構成図を書いてみようワークショップ 問題&解答解説 #デッカイギ #羽田デッカイギおつ
_mossann_t
0
1.5k
AWS re:Invent 2024 re:Cap Taipei (for Developer): New Launches that facilitate Developer Workflow and Continuous Innovation
dwchiang
0
170
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
140
データ基盤におけるIaCの重要性とその運用
mtpooh
4
530
Git scrapingで始める継続的なデータ追跡 / Git Scraping
ohbarye
5
500
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
137
6.7k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Embracing the Ebb and Flow
colly
84
4.5k
We Have a Design System, Now What?
morganepeng
51
7.3k
Gamification - CAS2011
davidbonilla
80
5.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.7k
A Tale of Four Properties
chriscoyier
157
23k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Documentation Writing (for coders)
carmenintech
67
4.5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
How STYLIGHT went responsive
nonsquared
96
5.3k
Transcript
DD I @spesnova
@spesnova
Favorites &
None
ࠓͷ ͕DatadogΛ͏ཧ༝ Θ͚
ͳͥͬͯΔ͔
ɾ࣮༻ੑߴ͍! ɾΠϯϑϥ୲গͳ͍! ɾDocker αϙʔτ DatadogΛ͏ཧ༝
ࢹڥߏஙͯ͠ɺ! Ξϥʔτઃఆͯ͠ɺ! ϝτϦΫεͷՄࢹԽͨ͠ͱ͜ΖͰɺ લ৬ͰͷܦݧʢNagiosʣ ͏͢Ͱʹർฐͯ͠Δ
લ৬ͰͷܦݧʢNagiosʣ ແࢹ͞ΕΔΞϥʔτ! ΘΕͳ͍άϥϑ
ࢹڥߏஙͯ͠ɺ! Ξϥʔτઃఆͯ͠ɺ! ϝτϦΫεΛՄࢹԽ͢Δ ϞχλϦϯά ϞχλϦϯά ʢϞχλϦϯάͷҰ෦Ͱ͋Δʣ ≠
ΞϥʔτʹԠ͠ɺ! ϝτϦΫεΛݟͯݪҼΛಥ͖ࢭΊɺ Λղܾ͢Δͱ͜Ζ·Ͱ ϞχλϦϯά ʹ ϞχλϦϯά
㱺 ղܾ͢Δͱ͜Ζ·ͰࢸΔ
ԿʹͬͯΔ͔
ɾsystem! ɾEC2! ɾRDS ࢹͯ͠Δͷ
ɾPostgreSQL! ɾMySQL! ɾElasticsearch! ɾNginx ࢹͯ͠Δͷ
ɾDocker ࢹͯ͠Δͷ
Slack / Pagerduty ʹ௨
Capistrano ͷΠϕϯτΛૹΔ IUUQTHJUIVCDPN%BUB%PHEPHBQJSCUSFFNBTUFSMJCDBQJTUSBOP IUUQTHJUIVCDPN%BUB%PHEPHBQJSCUSFFNBTUFSMJCDBQJTUSBOP
Ͳ͏ͬͯΔ͔
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
EC2 EC2 EC2 EC2 dd-agent ίϯςφ / Ϛγϯ
ɾCPU / ίϯςφ ! ɾCPU / Ϛγϯ! ɾMemory / Ϛγϯ!
ɾMemory / ίϯςφ! ɾIO / Ϛγϯ! ɾNetwork / Ϛγϯ! ɾίϯςφɺछྨ جຊతͳͷऔΕͯΔ
ίϯςφ / Πϝʔδ͝ͱʹݟΔ
αʔϏεࢹ $ 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
EC2 EC2 EC2 EC2 αʔϏεࢹ
PostgreSQL on RDS
ݪҼڀ໌ ɾͷ͋Δάϥϑͱଞͷάϥϑͷ૬ؔΛݟΔ! ɾͷ͋Δ࣌ؒલޙͷΠϕϯτΛݟΔ! ɾͷ͋Δ࣌ؒલޙͷϩάΛݟΔ
εςʔλεϖʔδ IUUQTUBUVTEBUBEPHIRDPN IUUQTUXJUUFSDPN%BUBEPH0QT
ΩϟονΞοϓ IUUQTXXXEBUBEPHIRDPNCMPH
·ͱΊ
ࠓޙ ɾSSH ϞχλϦϯάೖΕ͍ͨ! ɾetcd ϞχλϦϯάࢼͯ͠ΈΔ! ɾGo ϞχλϦϯάࢼͯ͠ΈΔ! ɾϓϥάΠϯॻ͍ͯΈΔ
·ͱΊ Datadog͍͍
Thanks!