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
SmartNews と Datadog
Search
Takumi Sakamoto
February 24, 2015
Programming
6
3.8k
SmartNews と Datadog
#dd_sushi での発表資料です。
Takumi Sakamoto
February 24, 2015
Tweet
Share
More Decks by Takumi Sakamoto
See All by Takumi Sakamoto
Building Data Pipelines with Apache Airflow
takus
3
2.7k
The Missing Pieces of Amazon ECS (for me)
takus
2
870
マイクロサービスとSRECon / #microserv
takus
14
4.4k
Slack と Incident Command System / #slackbook
takus
2
640
Why and How SmartNews uses SaaS?
takus
2
2.9k
スマートニュースの世界進出を支えるログ解析基盤 #jawsdays #tech
takus
64
18k
ぜんぶ AWS でやらないワケ
takus
55
110k
Velocity Conference 2013 Report
takus
2
1.7k
若者が Velocity Conference に参加して感じた Perl の現実
takus
0
770
Other Decks in Programming
See All in Programming
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
920
PLoP 2024: The evolution of the microservice architecture pattern language
cer
PRO
0
1.6k
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
3
400
Importmapを使ったJavaScriptの 読み込みとブラウザアドオンの影響
swamp09
4
1.2k
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
250
Progressive Web Apps für Desktop und Mobile mit Angular (Hands-on)
christianliebel
PRO
0
110
Kotlin2でdataクラスの copyメソッドを禁止する/Data class copy function to have the same visibility as constructor
eichisanden
1
130
Go言語でターミナルフレンドリーなAIコマンド、afaを作った/fukuokago20_afa
monochromegane
2
140
推し活としてのrails new/oshikatsu_ha_iizo
sakahukamaki
3
1.7k
GCCのプラグインを作る / I Made a GCC Plugin
shouth
1
150
役立つログに取り組もう
irof
26
8.6k
飲食業界向けマルチプロダクトを実現させる開発体制とリアルな現状
hiroya0601
1
390
Featured
See All Featured
Building an army of robots
kneath
302
42k
Building Adaptive Systems
keathley
38
2.2k
The Invisible Side of Design
smashingmag
297
50k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
32
2.4k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Why Our Code Smells
bkeepers
PRO
334
57k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Art, The Web, and Tiny UX
lynnandtonic
296
20k
A designer walks into a library…
pauljervisheath
202
24k
Transcript
4NBSU/FXTͱ%BUBEPH ͳͥ͏ͷ͔ʁͲ͏͏ͷ͔ʁ !UBLVT εϚʔτχϡʔεެࣜϚείοτ ٿ͘Μ
Takumi Sakamoto (@takus) Engineer, Application Services
None
ͳͥ͏ͷ͔ʁ Ͳ͏͏ͷ͔ʁ
ೖࣾ࣌
.VOJO͕͍ͨ
ࢹ͕ΦΦΧϛগԽ ܾͯ͠.VOJO͕ѱ͍Θ͚Ͱͳ͍
༻్ʹ߹Θͤͯվ ('ͷϝτϦΫεΛ.VOJOͰࢹ ͔֬ʹΈ߹ΘͤͰ৭ʑͱͰ͖Δ͕
औΓΉ͖ʁ ˓ࢹʹΑΔαʔϏεͷ҆ఆӡ༻ ºࢹγεςϜͷӡ༻
ࣗͨͪͰΔ͜ͱ ΛݮΒ͢ ελʔτΞοϓਓͱ͕࣌ؒͳ͍
༻αʔϏεΛࢼ͢ %BUBEPH $PQQFS&HH 4DPVU .BDLFSFM ࣌ύϒϦοΫϕʔλ
ΧελϜϝτϦΫε ߟ͑ͨ͜ͱ ϓϩάϚϥϒϧ ಋೖίετ Ձ֨ αϙʔτ ಋೖ࣮
None
બΜͩཧ༝ʁ ػೳຖʹݟΔͱ͋·Γ͕ࠩͳ͔ͬͨ ͕ɺͬͯΈΔͱμϯτπʹ͍͔ͬͨ͢
ͳͥ͏ͷ͔ʁ Ͳ͏͏ͷ͔ʁ
λάϕʔεͰͷࢹ σϓϩΠཤྺཧ ΧελϜϝτϦΫε
http://qiita.com/takus/items/c1d71bfcc231d0c24e0a
%/4ࢀরൺΛม͑ͳ͕Β 71$ʹҠߦ͢Δέʔε
SPMFXFC FOWDMBTTJD SPMFXFC FOWWQD SPMFλάΛݩʹϓϩϏδϣχϯά
SPMFXFC FOWDMBTTJD SPMFXFC FOWWQD FOWλάΛݩʹϝτϦΫεࢹ
sum:apache.status_2xx_count{role:web} by {env} EC2 Classic VPC FOWλάΛݩʹՄࢹԽ͢Δྫ
FOWλάΛݩʹΞϥʔτઃఆͷྫ ҠߦઌΊͷᮢͰ4MBDL௨
SPMFXFC FOWQSPEVDUJPOCMVF SPMFXFC FOWQSPEVDUJPOHSFFO ಉ͡ΈΛར༻ͯ͠ $:"/%FQMPZNFOU
λάϕʔεͰͷࢹ σϓϩΠཤྺཧ ΧελϜϝτϦΫε
from fabric.api run from fabric.decorators import runs_once, parallel @parallel @task
def deploy(): do_your_task() notify() @runs_once def notify(): ver = release_version() run("java -jar /path/to/newrelic/newrelic.jar deployment --appname=xxxx --revision=%s" % ver) 'BCSJDͰͷσϓϩΠΛ /FX3FMJDʹ௨
/FX3FMJDͰσϓϩΠཤྺཧ
8FCIPPLܦ༝Ͱ࿈ܞ
%BUBEPHͰσϓϩΠཤྺཧ
λάϕʔεͰͷࢹ σϓϩΠཤྺཧ ΧελϜϝτϦΫε
+.9ܦ༝ͰΧελϜϝτϦΫε
"default_attributes": { "datadog": { "jmx": { "instances": [ { "include":
[ { "attributes": [ { "alias": "jmx.xxxx.xxxx", "metric_type": "gauge", "name": "YYYY" } ], "bean": "smartnews:name=xxxx" }, $IFGʹߦ͚ͩ͢Ͱ
Α͠ͳʹՄࢹԽΞϥʔτઃఆ
ඞཁͳΒࣗͰ֦ு͢Δͷ؆୯
/BHJPTϓϥάΠϯʹ͍ۙ
ຊՈʹίϯτϦϏϡʔτ Special Thanks to @kiyoto ͞Μ https://www.datadoghq.com/2015/02/monitor-fluentd-datadog/
%BUBEPHͰ ࢹ͕ͬͯ·͢
5IBOLZPV