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.9k
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
880
マイクロサービスとSRECon / #microserv
takus
14
4.5k
Slack と Incident Command System / #slackbook
takus
2
660
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
ErdMap: Thinking about a map for Rails applications
makicamel
1
650
AHC041解説
terryu16
0
400
ATDDで素早く安定した デリバリを実現しよう!
tonnsama
1
1.9k
rails newと同時に型を書く
aki19035vc
5
710
カンファレンス動画鑑賞会のススメ / Osaka.swift #1
hironytic
0
170
ESLintプラグインを使用してCDKのセオリーを適用する
yamanashi_ren01
2
240
快速入門可觀測性
blueswen
0
500
Package Traits
ikesyo
1
210
Amazon Nova Reelの可能性
hideg
0
200
QA環境で誰でも自由自在に現在時刻を操って検証できるようにした話
kalibora
1
140
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
150
良いユニットテストを書こう
mototakatsu
11
3.6k
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Embracing the Ebb and Flow
colly
84
4.5k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
240
Designing Experiences People Love
moore
139
23k
GraphQLとの向き合い方2022年版
quramy
44
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Thoughts on Productivity
jonyablonski
68
4.4k
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