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

SentryでRailsアプリケーションの エラー監視を始めた話

shogo452
February 21, 2024
300

SentryでRailsアプリケーションの エラー監視を始めた話

ゆるSRE勉強会 #4の登壇資料です。
https://yuru-sre.connpass.com/event/306649/

shogo452

February 21, 2024
Tweet

Transcript

  1. $PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 4 4FOUSZͱ͸ಋೖഎܠ w 4FOUSZͱ͸ w Τϥʔ؂ࢹπʔϧ w ਺ଟ͘ͷϓϥοτϑΥʔϜʹରԠ

    w υϧ݄ 5FBN υϧ݄ #VTJOFTT  w ओཁػೳ w &SSPS.POJUPSJOH w 1FSGPSNBODF w 4FTTJPO3FQMBZ w $PEF$PWFSBHF w ಋೖഎܠ w 3BJMTΞϓϦέʔγϣϯͷόοΫΤϯυ w ผͷπʔϧ͔Β4FOUSZʹҠߦ
  2. $PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 5 ઃఆྫ w (FNͷΠϯετʔϧ w TFOUSZSVCZͱTFOUSZSBJMTΛΠϯετʔϧ w 4JEFLJRΛ࢖༻͍ͯ͠Δ৔߹͸ɺTFOUSZTJEFLJR΋ඞཁ

    w ઃఆϑΝΠϧͷ࡞੒ w ར༻͢Δ؀ڥͷࢦఆ w ؀ڥ໊ w ϩά w αϯϓϦϯά཰ w ϩʔΧϧม਺ w USBDFT@TBNQMF@SBUFͷ஫ҙ఺ w ʮʯͱઃఆ͢ΔͱαϯϓϦϯά཰ɿ w /"5ήʔτ΢ΣΠΛ࢖༻͍ͯ͠Δ؀ڥͩͱ ֎෦௨৴ྔ͕େ෯ʹ૿͑ɺΠϯϑϥίετ͕ѱԽ💦
  3. $PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 6 ઃఆྫ w DBQUVSF@NFTTBHF w ೚ҙͷΠϕϯτૹ৴ w MFWFM͸छྨ

    w DBQUVSF@FYDFQUJPO w 3FTDVF͍ͯ͠ΔՕॴͰྫ֎ͷ৘ใΛૹΔ w TFU@UBHT w ඪ४ͷλάʹՃ͑ͯλά෇͚ΛΧελϚΠζ w ྫɿεςʔδϯά൪߸ w TFU@VTFS w *E VTFS@OBNF FNBJM JQ@BEESFTTͷͭ w ӨڹΛड͚͍ͯΔϢʔβʔ਺͕܏޲ͷ෼ੳ w TFU@DPOUFYU w ඞཁͳ৘ใΛLFZ WBMVFܗࣜͰૹΔ
  4. $PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 7 Ξϥʔτͷ੔උ w Ξϥʔτͷઃఆྫ w *TTVFͷൃߦ w Τϥʔ݅਺ͷᮢ஋௒ա

    w ӨڹΛड͚͍ͯΔϢʔβʔ਺ͷᮢ஋௒ա w ௚ۙͷϦϦʔε͕ݪҼͷΤϥʔͷൃੜ w ᮢ஋ઃఆ w $SJUJDBMͱ8BSOJOHͷஈ֊ͰઃఆՄೳ w ۓٸ౓߹͍ͷ൑அ͕෇͖΍͍͢
  5. $PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 8 3FMFBTF.BOBHFNFOUͷ׆༻ w 3FMFBTF.BOBHFNFOU w $JSDMF$*΍(JUIVC"DUJPOTͳͲͱ࿈ܞ w ϦϦʔε୯ҐͰΤϥʔΛτϥοΩϯάՄ

    w ؀ڥม਺ɿ$*3$-&@4)"Λ׆༻ ˰DIFDLPVUͷ࣌ؒΛলུ w ௚ۙͷϦϦʔεͷίʔυ͕ݪҼͷ Τϥʔ͕ൃੜͨ͠৔߹ͷΞϥʔτ
  6. $PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 9 ӡ༻ w υΩϡϝϯτ੔උ w υΩϡϝϯτᶃɿ4FOUSZͷӡ༻ํ਑ w ಋೖഎܠ

    w ϓϩδΣΫτͷ੾Γํ w *TTVFͷεςʔλεͷઆ໌ w ௨஌༻ͷ4MBDLνϟοτϧʔϜͷ໋໊نଇ w ඞਢઃఆͷΞϥʔτFUD w υΩϡϝϯτᶄɿ1+5ผͷ*TTVFͷτϦΞʔδखॱ w ࣍෼୲ w ৽نൃߦ͞Εͨ*TTVFͷτϦΞʔδ w ΞϥʔτରԠFUD w ୨Է͠ w 43&νʔϜͰिճ࣮ࢪ w *TTVFͷϚʔδɺΞϥʔτͷᮢ஋ͷݟ௚͠