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
dev 補講: プロダクトセキュリティ / Product security overview
wa6sn
1
2.3k
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
190
TypeScript、上達の瞬間
sadnessojisan
46
13k
Why does continuous profiling matter to developers? #appdevelopercon
salaboy
0
180
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
第1回 国土交通省 データコンペ参加者向け勉強会③- Snowflake x estie編 -
estie
0
120
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
240
SREによる隣接領域への越境とその先の信頼性
shonansurvivors
2
510
Lexical Analysis
shigashiyama
1
150
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
470
ドメイン名の終活について - JPAAWG 7th -
mikit
33
20k
The Rise of LLMOps
asei
5
1.2k
Featured
See All Featured
How GitHub (no longer) Works
holman
310
140k
How to Ace a Technical Interview
jacobian
276
23k
Docker and Python
trallard
40
3.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Teambox: Starting and Learning
jrom
133
8.8k
Code Reviewing Like a Champion
maltzj
520
39k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
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!