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.6k
How we monitor microservices at Mercari microservices platform team
spesnova
13
9.9k
Kubernetes RBAC in microservices
spesnova
6
4k
Introduction to kustomize
spesnova
17
38k
Kubernetes 運用設計ガイド / A design guide for Kubernetes in production (Japanese)
spesnova
80
18k
Microservices Monitoring at mercari
spesnova
3
3.8k
Monitoring Kubernetes with Datadog
spesnova
12
4.3k
My Docker Best Practice (2016 Winter Short Version)
spesnova
33
7.4k
CoreOS 運用の所感
spesnova
17
9.2k
Other Decks in Technology
See All in Technology
Making your applications cross-environment - OSCG 2024 NA
salaboy
0
190
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
180
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
170
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
250
iOSチームとAndroidチームでブランチ運用が違ったので整理してます
sansantech
PRO
0
130
隣接領域をBeyondするFinatextのエンジニア組織設計 / beyond-engineering-areas
stajima
1
270
SSMRunbook作成の勘所_20241120
koichiotomo
2
130
AGIについてChatGPTに聞いてみた
blueb
0
130
SREが投資するAIOps ~ペアーズにおけるLLM for Developerへの取り組み~
takumiogawa
1
190
安心してください、日本語使えますよ―Ubuntu日本語Remix提供休止に寄せて― 2024-11-17
nobutomurata
1
990
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
6
620
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
Featured
See All Featured
What's new in Ruby 2.0
geeforr
343
31k
Thoughts on Productivity
jonyablonski
67
4.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Building an army of robots
kneath
302
43k
Docker and Python
trallard
40
3.1k
Practical Orchestrator
shlominoach
186
10k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
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!