Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DatadogでPHP・Laravelアプリケーションを監視する / monitoring-p...

DatadogでPHP・Laravelアプリケーションを監視する / monitoring-php-laravel-using-datadog

Japan Datadog User Group Meetup#5 での発表資料です。
https://datadog-jp.connpass.com/event/324770/

※内容は 2024年7月PHP勉強会で話したものとほぼ同じです。
https://speakerdeck.com/m_norii/monitoring-laravel-job-workers-using-datadog

m_norii (のりぃ)

August 07, 2024
Tweet

More Decks by m_norii (のりぃ)

Other Decks in Technology

Transcript

  1. "HFOEB w -BSBWFMʹ͍ͭͯ w %BUBEPHͰ1)1-BSBWFMΞϓϦέʔγϣϯΛ؂ࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w

    δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ࢒͠؂ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷ؂ࢹ w DPSFEVNQͷσΟϨΫτϦ؂ࢹ
  2. "HFOEB w -BSBWFMʹ͍ͭͯ w %BUBEPHͰ1)1-BSBWFMΞϓϦέʔγϣϯΛ؂ࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w

    δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ࢒͠؂ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷ؂ࢹ w DPSFEVNQͷσΟϨΫτϦ؂ࢹ
  3. "HFOEB w -BSBWFMʹ͍ͭͯ w %BUBEPHͰ1)1-BSBWFMΞϓϦέʔγϣϯΛ؂ࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w

    δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ࢒͠؂ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷ؂ࢹ w DPSFEVNQͷσΟϨΫτϦ؂ࢹ
  4. %BUBEPHͰ1)1-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
  5. "HFOEB w -BSBWFMʹ͍ͭͯ w %BUBEPHͰ1)1-BSBWFMΞϓϦέʔγϣϯΛ؂ࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w

    δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ࢒͠؂ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷ؂ࢹ w DPSFEVNQͷσΟϨΫτϦ؂ࢹ
  6. 1SPGJMFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w Πϯετʔϧ w 1)1֦ு%%5SBDFΠϯετʔϧ࣌ʹΦϓγϣϯ Λ౉͢ QIQEBUBEPHTFUVQQIQFOBCMFQSP fi MJOH w

    ࣮ߦ࣌ʹ؀ڥม਺ઃఆ %%@130'*-*/(@&/"#-&%USVF w ˞௨ৗͷ"1.ͱ͸ผ్ྉ͔͔ۚΓ·͢ IUUQTEPDTEBUBEPHIRDPNKBQSP fi MFSFOBCMJOHQIQ UBCHOVDMJOVY
  7. "HFOEB w -BSBWFMʹ͍ͭͯ w %BUBEPHͰ1)1-BSBWFMΞϓϦέʔγϣϯΛ؂ࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w

    δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ࢒͠؂ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷ؂ࢹ w DPSFEVNQͷσΟϨΫτϦ؂ࢹ
  8. δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ࢒͠؂ࢹ͢Δ w ͜ͷ؍఺Ͱ༗໊ͳͷ͸-BSBWFM)PSJ[FOͱ-BSBWFM 5FMFTDPQF w IUUQTMBSBWFMDPNEPDTYIPSJ[PO w IUUQTMBSBWFMDPNEPDTYUFMFTDPQF w 01&/-0(*Ͱ͸ɺಋೖ౰্࣌هϥΠϒϥϦͰෆ଍͍ͯ͠Δ

    ՕॴΛิ͏ͨΊʹػೳΛࣗ࡞ͨ͠ w ৄ͘͠͸ͪ͜ΒͷهࣄΛࢀরɿ -BSBWFM)PSJ[POͱ-BSBWFM5FMFTDPQFͰͰ͖Δ͜ͱɹΦ ʔϓϯϩδʹ͓͚Δ2VFVFͷӡ༻؅ཧϩάϛʔ5FDI IUUQTMPHNJKQUFDIBSUJDMFT
  9. "HFOEB w -BSBWFMʹ͍ͭͯ w %BUBEPHͰ1)1-BSBWFMΞϓϦέʔγϣϯΛ؂ࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w

    δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ࢒͠؂ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷ؂ࢹ w DPSFEVNQͷσΟϨΫτϦ؂ࢹ
  10. "HFOEB w -BSBWFMʹ͍ͭͯ w %BUBEPHͰ1)1-BSBWFMΞϓϦέʔγϣϯΛ؂ࢹ͢Δ w 1SP fi MFSΛઃఆͯ͠͞Βʹ%FFQ%JWF͢Δ w

    δϣϒͷ࣮ߦঢ়گΛϩάςʔϒϧʹ࢒͠؂ࢹ͢Δ w δϣϒϫʔΧʔͷϓϩηε୯ҐͰͷ؂ࢹ w DPSFEVNQͷσΟϨΫτϦ؂ࢹ