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
880
マイクロサービスとSRECon / #microserv
takus
14
4.4k
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
Mermaid x AST x 生成AI = コードとドキュメントの完全同期への道
shibuyamizuho
0
160
テストコード書いてみませんか?
onopon
2
110
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
170
Security_for_introducing_eBPF
kentatada
0
110
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
240
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
130
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
200
Recoilを剥がしている話
kirik
5
6.7k
From Translations to Multi Dimension Entities
alexanderschranz
2
130
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
330
Spatial Rendering for Apple Vision Pro
warrenm
0
110
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
Rails Girls Zürich Keynote
gr2m
94
13k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
How STYLIGHT went responsive
nonsquared
95
5.2k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Bash Introduction
62gerente
608
210k
GraphQLとの向き合い方2022年版
quramy
44
13k
BBQ
matthewcrist
85
9.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