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
650
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
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
170
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
310
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
910
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
4
640
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
880
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.7k
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
Better Code Design in PHP
afilina
PRO
0
120
Featured
See All Featured
Side Projects
sachag
452
42k
RailsConf 2023
tenderlove
29
900
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
For a Future-Friendly Web
brad_frost
175
9.4k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
120
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Producing Creativity
orderedlist
PRO
341
39k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
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