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
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
120
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
140
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
480
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
140
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
620
Jakarta EE meets AI
ivargrimstad
0
580
CSC509 Lecture 09
javiergs
PRO
0
140
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
230
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
Macとオーディオ再生 2024/11/02
yusukeito
0
370
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Designing for humans not robots
tammielis
250
25k
Being A Developer After 40
akosma
87
590k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Designing Experiences People Love
moore
138
23k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
4 Signs Your Business is Dying
shpigford
180
21k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
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