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

Trace outside of stack trace

Trace outside of stack trace

Shota Kashihara

May 28, 2019
Tweet

More Decks by Shota Kashihara

Other Decks in Technology

Transcript

  1. ©2019 Wantedly, Inc. Trace outside of stack trace w/ Firebase

    Crashlytics Firebase Meetup #13 May 28, 2019 - @kashihararara
  2. ©2019 Wantedly, Inc. ελοΫτϨʔε͕ऑ͍ͱԿ͕ࠔΔ Stack trace - ࠶ݱํ๏͕Θ͔Βͳ͍ - ݪҼ΋͸͖ͬΓͱ͠ͳ͍

    - ֬ೝ͠ͳ͚Ε͹ͳΒͳ͍͜ͱ͕Ұؾʹ૿͑Δ - ൃੜ৚݅͸ͳΜͳͷ͔ - όʔδϣϯ΁ͷґଘ - ୺຤΁ͷґଘ
  3. ©2019 Wantedly, Inc. ελοΫτϨʔε͕ऑ͍ͱԿ͕ࠔΔ Stack trace - ࠶ݱํ๏͕Θ͔Βͳ͍ - ݪҼ΋͸͖ͬΓͱ͠ͳ͍

    - ֬ೝ͠ͳ͚Ε͹ͳΒͳ͍͜ͱ͕Ұؾʹ૿͑Δ - ൃੜ৚݅͸ͳΜͳͷ͔ - όʔδϣϯ΁ͷґଘ - ୺຤΁ͷґଘ → ղܾ͍͕͔͔ͨ͠Δ޻਺ͷݟੵ΋Γ͕ग़དྷͳ͍ɻ
  4. ©2019 Wantedly, Inc. Customize crash reporting Customize crash reporting Firebase

    Crashlytics ʹ͸ Analytics ͱͷ౷߹ͨ͠ϨϙʔςΟϯά΍ ΫϥογϡϨϙʔςΟϯάͷͨΊͷϩάɺKey-Value͕ಠࣗʹ௥ՃͰ͖Δ ࢀর: https://firebase.google.com/docs/crashlytics/customize-crash-reports
  5. ©2019 Wantedly, Inc. Customize crash reporting Customize crash reporting -

    ΧελϜϩάϝοηʔδ - ΧελϜΩʔ - ϢʔβʔID
  6. ©2019 Wantedly, Inc. ΧελϜϩάϝοηʔδ Customize crash reporting - ͋Δͱخ͍͠ϝοηʔδ ΞϓϦͷঢ়ଶมԽʢىಈɺऴྃɺαΠϯΞοϓɺϩάΠϯ/ϩάΞ΢τʣ

    ΞϓϦͷॏཁΠϕϯτʢWantedly People ͷ৔߹͸ɺ໊ࢗεΩϟϯʣ ؀ڥґଘΠϕϯτʢόοΫάϥ΢ϯυfetch)
  7. ©2019 Wantedly, Inc. Customize crash reporting ͋Δͱخ͍͠ - ͍͔ͭΒ࢖͍࢝Ίͨͷ͔ʢΠϯετʔϧʣ -

    લճىಈͨ͠ͷ͸͍͔ͭ - ϔϏʔϢʔβʔͳͷ͔ϥΠτϢʔβʔͳͷ͔ ɹࢦඪͱͳΔObjective͕͋Δͱྑ͍ ɹεφοϓγϣοτͱͯ͠༗༻ͳ৔໘΋ଟ͍ ΧελϜΩʔ
  8. ©2019 Wantedly, Inc. Analyticsͱͷ࿈ܞ Customize crash reporting Crash reporting ϩά

    Analytics Πϕϯτ screen_view ΍ tap_button ͳͲɺ ͢Ͱʹܭଌ͍ͯ͠Δϩά͕׆͖Δ ⚠ ࿈ܞͰ͖ͳ͍͜ͱ΋͋ΔͷͰա৴͸ې෺
  9. ©2019 Wantedly, Inc. ͜Ε͔Β 1. ΞϓϦΛىಈͯ͠ 2. ࿈བྷઌը໘Λ։͍ͯ 3. όοΫάϥ΢ϯυʹߦ͘ͱ

    Crash! - ΧελϜϩάϝοηʔδ - Analytics ͷ screen_view 16:55:04 16:55:06 16:55:10 16:55
  10. ©2019 Wantedly, Inc. ·ͱΊ Customize crash reporting Crash Reporting ϩά

    Λऔ͓ͬͯ͘ͱɺ࠶ݱखॱͷखֻ͔ΓʹͳΔ ΧελϜKey-Value ͰΞϓϦͷεφοϓγϣοτΛऔ͓ͬͯ͜͏ Firebase Crashlytics ίϯιʔϧ͸͍͍ͧ