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
DatadogでLaravelジョブワーカーの監視 / monitoring laravel ...
Search
m_norii (のりぃ)
July 18, 2024
Technology
1
120
DatadogでLaravelジョブワーカーの監視 / monitoring laravel job workers using datadog
2024年7月18日(木) 第166回PHP勉強会@東京 の発表資料です。
m_norii (のりぃ)
July 18, 2024
Tweet
Share
More Decks by m_norii (のりぃ)
See All by m_norii (のりぃ)
DatadogでPHP・Laravelアプリケーションを監視する / monitoring-php-laravel-using-datadog
m_norii
1
250
巨大インフラ産業で戦うSRE / SRE working in the large infrastructure industry
m_norii
2
2.5k
HCP Terraform で AWS マルチアカウントのリソースを管理する / AWS multiple account IaC using HCP Terraform
m_norii
0
420
Other Decks in Technology
See All in Technology
【shownet.conf_】ShowNet伝送改めShowNet APN 2024
shownet
PRO
0
440
入門 KRR
donkomura
0
110
Efficient zero-copy networking using io_uring
ennael
PRO
0
340
過去のインプットとアウトプットを振り返る
diggymo
0
110
【shownet.conf_】放送局とShowNetが共創する、未来の放送システム ~Media over IP 特別企画の裏側~
shownet
PRO
0
350
【shownet.conf_】ローカル5Gを活用したウォーキングツアーの体感向上
shownet
PRO
0
350
VS CodeでF1〜12キーつかってますか? / Do you use the F1-12 keys in VS Code?
74th
2
290
All your memory are belong to… whom?
ennael
PRO
0
650
テストコードの品質を客観的な数値で担保しよう〜Mutation Testのすすめ〜
ysknsid25
11
3.1k
I tried the newly introduced certification "Applied Skills" on Microsoft Learn
mappie_kochi
0
140
AWSの初級者向けAI・ML資格『AWS Certified AI Practitioner』の傾向と対策/So You Want To Pass AWS Certified AI Practitioner
quiver
0
230
これはPerl? それともRuby? クイズ〜〜〜〜〜!!!- Perl or Ruby Quiz
moznion
2
1.7k
Featured
See All Featured
Clear Off the Table
cherdarchuk
91
320k
Optimizing for Happiness
mojombo
375
69k
The Language of Interfaces
destraynor
154
24k
4 Signs Your Business is Dying
shpigford
180
21k
Web development in the modern age
philhawksworth
205
10k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.5k
Building Adaptive Systems
keathley
38
2.1k
How GitHub (no longer) Works
holman
311
140k
Building an army of robots
kneath
302
42k
Transcript
݄ ୈճ1)1ษڧձˏ౦ژ !N@OPSJJ %BUBEPHͰ -BSBWFMδϣϒϫʔΧʔͷࢹ
ࣗݾհ w ྛਖ਼ل )BZBTIJ.BTBOPSJ w ࡛ۄݝӽࢢࡏॅ w Շͱ.S$IJMESFOͱຑΛѪ͢ΔΤϯδχΞ w
גࣜձࣾΦʔϓϯϩδ43& w !N@OPSJJ
43&/&95εϙϯαʔ͠·͢ IUUQTTSFOFYUEFW
01&/-0(*OPUFهࣄΑΓ IUUQTOPUFPQFOMPHJDPNOO ff DBFE
01&/-0(*OPUFهࣄΑΓ IUUQTOPUFPQFOMPHJDPNOO ff DBFE
8FBSFIJSJOH IUUQTDPSQPQFOMPHJDPNSFDSVJU
%BUBEPHͰ-BSBWFMδϣϒϫʔΧʔΛࢹ͢Δ w %BUBEPHͱ w %BUBEPHͰ-BSBWFMΞϓϦέʔγϣϯΛࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w
δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ͠ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷࢹ w DPSFEVNQͷσΟϨΫτϦࢹ
%BUBEPHͰ-BSBWFMδϣϒϫʔΧʔΛࢹ͢Δ w %BUBEPHͱ w %BUBEPHͰ-BSBWFMΞϓϦέʔγϣϯΛࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w
δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ͠ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷࢹ w DPSFEVNQͷσΟϨΫτϦࢹ
%BUBEPHͱ w %BUBEPHΫϥυίϯϐϡʔςΟϯά༻ͷ ࢹΞϓϦέʔγϣϯαʔϏε w 4BB4ϕʔεͷσʔλੳϓϥοτϑΥʔϜΛ հͯ͠αʔόʔɺσʔλϕʔεɺπʔϧɺ͓Α ͼαʔϏεͷࢹΛఏڙ IUUQTXXXEBUBEPHIRDPNKB
%BUBEPHͰ-BSBWFMδϣϒϫʔΧʔΛࢹ͢Δ w %BUBEPHͱ w %BUBEPHͰ-BSBWFMΞϓϦέʔγϣϯΛࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w
δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ͠ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷࢹ w DPSFEVNQͷσΟϨΫτϦࢹ
%BUBEPHͰ-BSBWFMΞϓϦέʔγϣϯΛࢹ͢Δ w ҎલهࣄΛॻ͖·ͨ͠ w ͬ͘͟ΓαϚϦ w %BUBEPH"HFOU 1)1֦ு%%5SBDFೖΕΔ w ڥม̎ͭՃ
w %%@53"$&@(&/&3"5&@3005@41"/ w %%@53"$&@"650@'-64)@&/"#-&% w τϨʔεͷىͱͳΔϝιουΛ%BUBEPH "1.ʹొ IUUQT[FOOEFWPQFOMPHJBSUJDMFTECDGDFG
%BUBEPHͰ-BSBWFMδϣϒϫʔΧʔΛࢹ͢Δ w %BUBEPHͱ w %BUBEPHͰ-BSBWFMΞϓϦέʔγϣϯΛࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w
δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ͠ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷࢹ w DPSFEVNQͷσΟϨΫτϦࢹ
1SPGJMFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w 1)1֦ு%%5SBDFͷՃػೳ w ͍ΘΏΔϓϩϑΝΠϦϯά ʢؔ୯ҐͷυϦϧμϯʣ
1SPGJMFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w Πϯετʔϧ w 1)1֦ு%%5SBDFΠϯετʔϧ࣌ʹΦϓγϣϯ Λ͢ QIQEBUBEPHTFUVQQIQFOBCMFQSP fi MJOH w
࣮ߦ࣌ʹڥมઃఆ %%@130'*-*/(@&/"#-&%USVF w ˞௨ৗͷ"1.ͱผͰྉ͕͔͔ۚΓ·͢ IUUQTEPDTEBUBEPHIRDPNKBQSP fi MFSFOBCMJOHQIQ UBCHOVDMJOVY
%BUBEPHͰ-BSBWFMδϣϒϫʔΧʔΛࢹ͢Δ w %BUBEPHͱ w %BUBEPHͰ-BSBWFMΞϓϦέʔγϣϯΛࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w
δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ͠ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷࢹ w DPSFEVNQͷσΟϨΫτϦࢹ
δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ͠ࢹ͢Δ w ͜ͷ؍Ͱ༗໊ͳͷ-BSBWFM)PSJ[FOͱ-BSBWFM 5FMFTDPQF w IUUQTMBSBWFMDPNEPDTYIPSJ[PO w IUUQTMBSBWFMDPNEPDTYUFMFTDPQF w 01&/-0(*Ͱɺಋೖ্࣌هϥΠϒϥϦͰෆ͍ͯ͠Δ
ՕॴΛิ͏ͨΊʹػೳΛࣗ࡞ͨ͠ w ৄͪ͘͜͠ΒͷهࣄΛࢀরɿ -BSBWFM)PSJ[POͱ-BSBWFM5FMFTDPQFͰͰ͖Δ͜ͱɹΦ ʔϓϯϩδʹ͓͚Δ2VFVFͷӡ༻ཧϩάϛʔ5FDI IUUQTMPHNJKQUFDIBSUJDMFT
δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ͠ࢹ͢Δ w ࠷ۙͰ͜ͷϩάςʔϒϧΛ%BUBEPHͷ.Z42-ΧελϜΫΤϦػೳΛར༻ͯ͠ɺॲཧ࣌ؒͷ ͍ΩϡʔͷࢹΛ͍ͯ͠Δ
%BUBEPHͰ-BSBWFMδϣϒϫʔΧʔΛࢹ͢Δ w %BUBEPHͱ w %BUBEPHͰ-BSBWFMΞϓϦέʔγϣϯΛࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w
δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ͠ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷࢹ w DPSFEVNQͷσΟϨΫτϦࢹ
δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷࢹ w ͜ͷࢹΛ࢝Ί͖͔͚ͨͬɺʮಛఆͷδϣϒϫʔΧʔ͕ɺಥવ$16Λ௫Μͩ··ϋϯάΞο ϓͯ͠͠·͏ʯݱ͕ൃੜͨͨ͠Ί w ݪҼΛઌʹॻ͘ͱɺ1)1֦ு%%5SBDFͷ͋Δಛఆͷόʔδϣϯʹόά͕͋Γɺॲཧ͕ϋϯά Ξοϓ͍ͯͨ͠
δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷࢹ w ͜ͷδϣϒϫʔΧʔ͕ಈ͍͍ͯΔαʔόɺ$16ίΞ͋ͬͨ w ͜ͷαʔό্ͰෳͷҟͳΔΩϡʔΛࢹ͢ΔδϣϒϫʔΧʔ͕ಈ͍͍ͯΔ w ͕ൃੜͨ͠δϣϒϫʔΧʔɺ͜ͷαʔό্ʹϓϩηε͚ͩىಈ͍ͤͯͨ͞ͷͰɺϋϯ άΞοϓൃੜ࣌ɺάϥϑ্Ͱ$16͕ˋͰுΓ͍ͨ··ʹͳ͍ͬͯͨ w ͳͷͰɺ୯७ͳʢΠϯελϯεϝτϦΫεͷʣ$16༻Ͱࢹઃఆ͢Δ͜ͱͰ͖ͳ͍
δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷࢹ w ϓϩηε͝ͱͷϝτϦΫεΛར༻ͯ͠ࢹઃఆΛೖΕͨ w δϣϒϫʔΧʔෳϗετͰىಈ͍ͯ͠ΔͷͰɺϗετ୯ҐͰࢹ w ϗετʹෳϫʔΧʔ͕ىಈ͍ͯ͠ΔͷͰɺϫʔΧʔϓϩηε໊Ͱάϧʔϐϯά͠ɺ࠷େ ͕Ұఆ࣌ؒᮢҎ্ͩͬͨΒΞϥʔτΛ্͛Δ
%BUBEPHͰ-BSBWFMδϣϒϫʔΧʔΛࢹ͢Δ w %BUBEPHͱ w %BUBEPHͰ-BSBWFMΞϓϦέʔγϣϯΛࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w
δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ͠ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷࢹ w DPSFEVNQͷσΟϨΫτϦࢹ
DPSFEVNQͷσΟϨΫτϦࢹ w ઌఔͷδϣϒϫʔΧʔͷোͰɺDPSFEVNQΛు͍͍ͯΔ͜ͱʹؾ͚͍ͮͯͳ͔ͬͨ w %BUBEPHͷσΟϨΫτϦࢹΛར༻ IUUQTEPDTEBUBEPHIRDPNKBJOUFHSBUJPOTEJSFDUPSZ
·ͱΊ w -BSBWFMͷδϣϒϫʔΧʔదͳࢹ͕ඞཁ w %BUBEPHΛར༻ͨ͠ɺࢹΞϓϩʔνΛ͍͔ͭ͘͝հ w ଞͷࢹγεςϜͰࣅͨΑ͏ͳ͜ͱͰ͖Δͣ w దʹࢹ͠ɺՄ؍ଌੑΛ্͛ͯɺγεςϜͷ৴པੑΛ্͍͖͛ͯ·͠ΐ͏
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠