#phpcon2022 エラーと向き合い、自信を持って サービス開発に取り組み、前に進む

#phpcon2022 エラーと向き合い、自信を持って サービス開発に取り組み、前に進む

PHP Conference Japan 2022での発表資料です

https://fortee.jp/phpcon-2022/proposal/ace60290-0c64-4a64-80ca-74fa5e27e446

※ 追加スライドを含む「配布版」はコチラ → https://speakerdeck.com/o0h/phpcon-2022

hideki kinjyo

September 25, 2022
Tweet

More Decks by hideki kinjyo

Other Decks in Programming

Transcript

  1. ( )

  2. ͓͠ͳ͕͖ 1. - - 2. - - 3. - -

    4. - with Sentry- 5. 
  3. ϓϩҙࣝʹ݉Ͷඋ͑ΒΕΔ΂͖ʮྙཧʯ  [ग़య] 
 ᴷ Robert C. Martin,֯ ੐య. 


    Clean Craftsmanshipɹن཯ɺج४ɺྙཧ (Japanese Edition) Kindle ൛ P335
  4. Ձ஋ΛੜΈग़͢ͷʹ࢖͍͑ͯΔ࣌ؒ͸ 49% 21% 38% 27%  [ग़య] 
 ᴷ Nicole

    Forsgren Ph.D.,Jez Humble,Gene Kim,෢ࣷ޿޾, ෢ࣷΔΈ. 
 LeanͱDevOpsͷՊֶ[Accelerate] ςΫϊϩδʔͷઓུత׆༻͕૊৫มֵΛՃ଎͢Δ P63
  5. ಛఆ͕Ͱ͖ͯ΋ɾɾ૿͑ଓ͚͍ͯΔίετ , , , , , ( ) 1 ,

    , , , ,  [ग़య] 
 ᴷ Pete McBreen, ଜ্ խষ. 
 XPΤΫετϦʔϜϓϩάϥϛϯάջٙฤʕXP͸ιϑτ΢ΣΞ։ൃͷٹੈओͨΓ͑Δͷ͔ P130
  6. 

  7.  X Z • XͰରԠͰ͖Ε͹ɺ 
 ʮ2࣌ؒલͷίʔυͷҙਤʯΛࢥ͍ग़͚ͩ͢ͰࡁΉ 
 (ຊ൪σϏϡʔͨͯ͠ͷίʔυͳͷͰɺඃґଘऀ΋গͳͦ͏) •

    ZͷରԠʹͳΔͱɺ 
 ʮ3ϱ݄લͷίʔυͷҙਤʯΛ֬ೝ͢Δ͜ͱʹ 
 (ͦͷதʹɺܽؕՕॴ΁ͷґଘ΋ؚ·ΕΔ)
  8. ಥવͷએ఻ʂʂʂʂ connehito/cake-sentry 
 PR Starろ awesome-cakephp 
 Sentry SDK 3rd

    party integrations 💪 
 cake4.4+ Laravel  ίωώτ͞Μͷٻਓ৘ใ΋೷͍ͯΈ͍ͯͩ͘͞ͶʂIUUQTISNPTDPQBHFTDPOOFIJUPKPCT
  9. SentryͰ0࣍ରԠΛ࣮ફ͢Δ Alert Alert Create Alert Issues Set Conditions When: A

    new issue is created Then: Send a Slack noti fi cation 
 Slack Integration  Alert Alert
  10. SentryͰසग़Τϥʔݕ஌Λ࣮ફ͢Δ When: Number of events in an issue is more

    than XXX( ) in XXX( ) Then: Send a Slack noti fi cation 
  11. ิ଍: SentryͰશ͘ѻΘͳ͍Τϥʔʹ͍ͭͯ Resolve Sentry UserNotExistsException Sentry SDK 胸 FW 

    ࢀߟ 
 'JMUFSJOHGPS4ZNGPOZc4FOUSZ%PDVNFOUBUJPO 
 IUUQTEPDTTFOUSZJPQMBUGPSNTQIQHVJEFTTZNGPOZDPO fi HVSBUJPO fi MUFSJOH fi MUFSJOHFSSPSFWFOUT
  12. ࣗಈResolveᶄ: ϦϦʔεͷ࿈ಈʹΑΔղܾ 胸 胸 (Event) 
 (Resolved -> Regression) The

    next release: The current release: Another existing release: GitHub resolve 
  13. UnresolvedͳIssueͷReview/Reviewed Issue ( ack 踏 ) GitHub Issue tracker ぽ

     Review଴ͪIssueҰཡ ʮReviewࡁΈʯૢ࡞ͱมߋཤྺ
  14. ιϑτ΢ΣΞͷ඼࣭ͷ؍఺ Sentry 1. Event 2. Event Issue 3. Issue 4.

    Unresolved Issue 5. Resolve Issue 6. Issue resolved 
  15. §5

  16. ࢀߟॻ੶ɾҾ༻ͨ͠ॻ੶ Clean Craftsmanship (Japanese Edition) E ff ective DevOps 4

    Fearless Change 48 Google ITIL ITIL Leading Beyond Change: A Practical Guide to Evolving Business Agility Lean DevOps [Accelerate] Observability Engineering: Achieving Production Excellence XP XP : ―― ( ) DevOps 9 ( 3 ) 9  ޒेԻॱ
  17. Web্ͷࢀߟϦιʔε / Sentry͕ఏڙ͍ͯ͠ΔϦιʔε Product Guides | Sentry Documentation 
 https://docs.sentry.io/product/

    API Reference | Sentry Documentation 
 https://docs.sentry.io/api/ Spend Less Time on Bugs & More Time on Features: Sentry + Sleuth | Sentry 
 https://sentry.io/resources/improve-and-automate-your-work fl ow/ Automate, Group, and Get Alerted: A Best Practices Guide to Monitoring your Code | Sentry 
 https://sentry.io/resources/automate-group-get-alerted/ Sentry - YouTube ろ 
 https://www.youtube.com/c/Sentry-monitoring 
  18. Web্ͷࢀߟϦιʔε / Sentryͷಋೖɾ׆༻ࣄྫ / PHPerKaigi2022 - Speaker Deck 
 https://speakerdeck.com/kazatohiei/phperkaigi2022

    Sentry | Wedding Park CREATORS Blog 
 https://engineers.weddingpark.co.jp/sentry/ Raygun Sentry - BASE 
 https://devblog.thebase.in/entry/raygun2sentry - 
 https://daisuki.nichiyoubi.land/entry/2020/07/01/ 123616#%E3%81%AA%E3%81%9C%E3%82%84%E3%82%8B%E3%81%AE%E3%81%8B 
  19. Web্ͷࢀߟϦιʔε / DevOpsɺϞχλϦϯά Monitoring Check Smells 
 https://benjiweber.co.uk/blog/2015/03/02/monitoring-check-smells/ 5 2020

    (1/2) CodeZine 
 https://codezine.jp/article/detail/12052 
 https://www.youtube.com/watch?v=9RPgdJyeA7Y&t=4784s State of DevOps Four Keys ( ) / Introduction to State of DevOps and Four Keys for Visualizing Productivity in Development Organizations expanded and revised edition - Speaker Deck 
 https://speakerdeck.com/isanasan/introduction-to-state-of-devops-and-four-keys-for-visualizing- productivity-in-development-organizations-expanded-and-revised-edition 
  20. Web্ͷࢀߟϦιʔε / ඼࣭ɾอकɾ༧๷ 
 https://blogs.itmedia.co.jp/morisaki/2012/04/post-7e5d.html - Cybozu Inside Out |

    
 https://blog.cybozu.io/entry/2016/05/18/103000 - / Growing Reliable Code PHPerKaigi 2022 - Speaker Deck 
 https://speakerdeck.com/twada/growing-reliable-code-phperkaigi-2022 / Agility and Quality Characteristics Developers Summit 2021 Summer - Speaker Deck 
 https://speakerdeck.com/twada/agility-and-quality-characteristics-developers-summit-2021-summer - pixiv inside 
 https://inside.pixiv.blog/shimashima/6247 
  21. Web্ͷࢀߟϦιʔε / ͦͷଞ(จԽɺ૊৫ͳͲ) I - 
 https://daisuki.nichiyoubi.land/entry/2021/12/11/182323 #scrumosaka / Scrum

    Fest Osaka 2021 Keynote - Speaker Deck 
 https://speakerdeck.com/bu ff erings/scrum-fest-osaka-2021-keynote / The Debt - Speaker Deck https:// speakerdeck.com/toricls/the-debt / You won't be in the team forever - Speaker Deck 
 https://speakerdeck.com/toricls/you-wont-be-in-the-team-forever