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

OpenTelemetry入門へGo

 OpenTelemetry入門へGo

More Decks by 株式会社ビットキー / Bitkey Inc.

Other Decks in Technology

Transcript

  1. #JULFZ*OD$POOFDU1SPEVDU
    /PSJLJ5BLBIBTIJ
    OpenTelemetryೖ໳΁Go

    View full-size slide

  2. 0VUMJOF
    1. ࣗݾ঺հ
    2. OpenTelemetry ͱ͸
    3. Go Ͱ OpenTelemetryೖ໳
    4. ·ͱΊ

    View full-size slide

  3. 1. ࣗݾ঺հ

    ● OSOSL ͷΓͷΓ͖

    ○ ຊ໊ߴڮయੜ ͔ͨ͸͠ͷΓ͖

    ○ 5XJUUFS!OPSJOPSJLJ
    ○ (JU)VCOSOSL
    ● גࣜձࣾ#JULFZ
    ○ CJULFZQMBUGPSNͱ͍͏zΧΪzͷϓϥοτϑΥʔϜͷ։ൃ
    ● ओʹࣾ಺޲͚ͷΧΪͷϓϥοτϑΥʔϜαʔϏεΛ(PͰఏڙ͍ͯ͠·͢
    ● झຯ਺ֶɾ෺ཧֶ
    ○ [L4/"3,Tͷ਺ֶతͳଆ໘ΛטΈࡅ͘هࣄΛॻ͍ͨΓͯ͠·͢

    View full-size slide

  4. ● #JULFZͷͭͷࣄۀυϝΠϯ
    ○ )PNFʢ฻Β͠ʣ
    ○ 8PSLTQBDFʢಇ͘ʣ
    ○ &YQFSJFODFʢඇ೔ৗͷମݧʣ
    ● CJULFZQMBUGPSN
    ○ ͭͷIVCΞϓϦέʔγϣϯͷج൫
    1. ࣗݾ঺հ

    ςΫϊϩδʔͷྗͰ͋ΒΏΔ΋ͷΛ
    ҆શͰศརͰؾ࣋ͪΑ͘ʮͭͳ͛Δʯ

    View full-size slide

  5. ● ࠓ೔ͷ͓࿩ͷϞνϕʔγϣϯ
    ○ ͔͍͍͚ͬ͜Ͳͪΐͬͱෑډͷߴ͍0QFO5FMFNFUSZ
    ■ ˡCJULFZQMBUGPSN͸ϚΠΫϩαʔϏεΞʔΩςΫνϟΛ࠾༻͍ͯ͠Δ
    ○ େ࿮ͷઆ໌ಋೖ࣌ʹ໾ཱͭ৘ใ 3FHJTUSZͳͲ
    Λڞ༗
    ■ ˠ(PͰͷಋೖͷෑډΛ௿͍ͨ͘͠
    ○ Α͚Ε͹ɺৄ͍͠ਓʹڭ͑ͯ΋Β͍͍ͨ


    1. ࣗݾ঺հ

    View full-size slide

  6. OpenTelemetry ͱ͸

    View full-size slide

  7. ● 0QFO5FMFNFUSZ
    ○ lςϨϝτϦʔσʔλz ϝτϦΫεɺϩάɺτϨʔε
    Λܭଌ͠ɺऩू͢ΔͨΊͷπʔ
    ϧ܈

    2. OpenTelemetry ͱ͸
    https://opentelemetry.io/

    View full-size slide

  8. ● 0QFO5FMFNFUSZ
    ○ lςϨϝτϦʔσʔλz ϝτϦΫεɺϩάɺτϨʔε
    Λܭଌ͠ɺऩू͢ΔͨΊͷπʔ
    ϧ܈

    2. OpenTelemetry ͱ͸
    https://opentelemetry.io/
    ςϨ(཭Εͯ)ɾϝτϦʔ(ܭଌ͢Δ)

    View full-size slide

  9. ● 0QFO5FMFNFUSZ͕αϙʔτ͢Δ෼໺

    2. OpenTelemetry ͱ͸

    View full-size slide

  10. ● 0QFO5FMFNFUSZ͕αϙʔτ͢Δ෼໺
    ○ 5SBDFT
    ■ ϢʔβʔϦΫΤετ͕དྷͨͱ͖ͷΞϓϦέʔγϣϯͷશମ૾Λඳը
    ○ .FUSJDT
    ■ ࣮ߦ࣌ͷαʔϏεͷঢ়ଶͷܭଌ
    ○ -PHT
    ■ λΠϜελϯϓΛؚΉϝλσʔλ෇͖ͷه࿥
    ○ #BHHBHF
    ■ εύϯ ޙड़
    ؒͷίϯςΩετΛ࣋ͬͨ৘ใͷू·Γ

    2. OpenTelemetry ͱ͸

    View full-size slide

  11. ● 0QFO5FMFNFUSZ͕αϙʔτ͢Δ෼໺
    ○ 5SBDFT
    ■ ϢʔβʔϦΫΤετ͕དྷͨͱ͖ͷΞϓϦέʔγϣϯͷશମ૾Λඳը
    ○ .FUSJDT
    ■ ࣮ߦ࣌ͷαʔϏεͷঢ়ଶͷܭଌ
    ○ -PHT
    ■ λΠϜελϯϓΛؚΉϝλσʔλ෇͖ͷه࿥
    ○ #BHHBHF
    ■ εύϯ ޙड़
    ؒͷίϯςΩετΛ࣋ͬͨ৘ใͷू·Γ

    2. OpenTelemetry ͱ͸
    ࠓճͷ࿩͸͜͜ʹ͍ͭͯ

    View full-size slide

  12. ● ෼ࢄτϨʔγϯάαʔϏεͱͷؔ܎
    ○ ෼ࢄτϨʔγϯάαʔϏε
    ■ (PPHMF5SBDF"1*
    ■ "8493BZ
    ■ 044+BFHFS ΠΣʔΨʔ
    ͳͲ
    ○ ˠ0QFO5FMFNFUSZͷ࢓༷ͰΠϯλʔϑΣΠε͕ڞ௨Խ

    2. OpenTelemetry ͱ͸

    View full-size slide

  13. ● ෼ࢄτϨʔγϯάαʔϏεͱͷؔ܎
    ○ ෼ࢄτϨʔγϯάαʔϏε
    ■ (PPHMF5SBDF"1*
    ■ "8493BZ
    ■ 044+BFHFS ΠΣʔΨʔ
    ͳͲ
    ○ ˠ0QFO5FMFNFUSZͷ࢓༷ͰΠϯλʔϑΣΠε͕ڞ௨Խ

    2. OpenTelemetry ͱ͸

    View full-size slide

  14. ● ෼ࢄτϨʔγϯάαʔϏεͱͷؔ܎
    ○ ෼ࢄτϨʔγϯάαʔϏε
    ■ (PPHMF5SBDF"1*
    ■ "8493BZ
    ■ 044+BFHFS ΠΣʔΨʔ
    ͳͲ
    ○ ˠ0QFO5FMFNFUSZͷ࢓༷ͰΠϯλʔϑΣΠε͕ڞ௨Խ

    2. OpenTelemetry ͱ͸

    View full-size slide

  15. ● ෼ࢄτϨʔγϯάαʔϏεͱͷؔ܎
    ○ ෼ࢄτϨʔγϯάαʔϏε
    ■ (PPHMF5SBDF"1*
    ■ "8493BZ
    ■ 044+BFHFS ΠΣʔΨʔ
    ͳͲ
    ○ ˠ0QFO5FMFNFUSZͷ࢓༷ͰΠϯλʔϑΣΠε͕ڞ௨Խ

    2. OpenTelemetry ͱ͸

    View full-size slide

  16. ● ෼ࢄτϨʔγϯάαʔϏεͱͷؔ܎
    ○ ෼ࢄτϨʔγϯάαʔϏε
    ■ (PPHMF5SBDF"1*
    ■ "8493BZ
    ■ 044+BFHFS ΠΣʔΨʔ
    ͳͲ
    ○ ˠ0QFO5FMFNFUSZͷ࢓༷ͰΠϯλʔϑΣΠε͕ڞ௨Խ

    2. OpenTelemetry ͱ͸

    View full-size slide

  17. ● ༨ஊ0QFO$FOTVTͱ͔΋͚͋ͬͨͲ
    ○ 0QFO$FOTVT0QFO5SBDJOH
    ■ 0QFO5FMFNFUSZʹ౷߹΁
    ○ ͜Ε͔Β࢖͏ͳΒ0QFO5FMFNFUSZͰྑ͍͠ɺ0QFO$FOTVTΛ࢖͍ͬͯΔ৔߹͸
    ͍ͣΕ0QFO5FMFNFUSZʹҠߦ͢Δ͜ͱʹͳΓͦ͏
    ■ զʑ΋0QFO$FOTVT0QFO5FMFNFUSZ΁Ҡߦத

    2. OpenTelemetry ͱ͸

    View full-size slide

  18. ● 0QFO5FMFNFUSZ5SBDFT͕ͳ͍ͱ͖

    2. OpenTelemetry ͱ͸

    View full-size slide

  19. ● 0QFO5FMFNFUSZ5SBDFT͕ͳ͍ͱ͖
    ○ ෼ࢄΞʔΩςΫνϟͷҰྫ

    2. OpenTelemetry ͱ͸
    gateway
    auth
    payment
    dispatcher search poll
    poll
    poll

    View full-size slide

  20. ● 0QFO5FMFNFUSZ5SBDFT͕ͳ͍ͱ͖
    ○ ෼ࢄΞʔΩςΫνϟͷҰྫ

    2. OpenTelemetry ͱ͸
    gateway
    auth
    payment
    dispatcher search poll
    poll
    poll
    ໰୊ᶃ

    search αʔϏεͰΤϥʔ͕ൃੜʂ


    ͜ΕͷݩʹͳͬͨΤϯυϢʔβʔͷϦ
    ΫΤετ͸ͲΕͩΖ͏ʁ

    View full-size slide

  21. ● 0QFO5FMFNFUSZ5SBDFT͕ͳ͍ͱ͖
    ○ ෼ࢄΞʔΩςΫνϟͷҰྫ

    2. OpenTelemetry ͱ͸
    gateway
    auth
    payment
    dispatcher search poll
    poll
    poll
    ໰୊ᶃ

    search αʔϏεͰΤϥʔ͕ൃੜʂ


    ͜ΕͷݩʹͳͬͨΤϯυϢʔβʔͷϦ
    ΫΤετ͸ͲΕͩΖ͏ʁ
    ໰୊ᶄ

    ΞϓϦέʔγϣϯ͕஗͍...

    ݪҼͱͳΔAPI͸Θ͔͕ͬͨɺ͍͍ͬͨ
    Ͳ͜ͷϚΠΫϩαʔϏε͕ݪҼͳΜͩ
    Ζ͏͔...ʁ

    View full-size slide

  22. OpenTelemetry ͕͜ΕΛղܾ͢Δ


    2. OpenTelemetry ͱ͸

    View full-size slide

  23. ● 0QFO5FMFNFUSZ5SBDFTΛར༻ͨ͠ՄࢹԽ

    2. OpenTelemetry ͱ͸
    https://opentelemetry.io/docs/concepts/observability-primer/#distributed-traces

    View full-size slide

  24. ● 0QFO5FMFNFUSZ5SBDFTΛར༻ͨ͠ՄࢹԽ

    2. OpenTelemetry ͱ͸
    https://opentelemetry.io/docs/concepts/observability-primer/#distributed-traces
    ܦա࣌ؒ

    View full-size slide

  25. ● 0QFO5FMFNFUSZ5SBDFTΛར༻ͨ͠ՄࢹԽ

    2. OpenTelemetry ͱ͸
    https://opentelemetry.io/docs/concepts/observability-primer/#distributed-traces
    ܦա࣌ؒ
    ਌ࢠؔ܎

    View full-size slide

  26. ● 0QFO5FMFNFUSZ5SBDFTΛར༻ͨ͠ՄࢹԽ

    2. OpenTelemetry ͱ͸
    https://opentelemetry.io/docs/concepts/observability-primer/#distributed-traces
    ܦա࣌ؒ
    ਌ࢠؔ܎
    ղܾᶃ

    search αʔϏεͷ
    Τϥʔ͸਌ࢠؔ܎Λ
    ͨͲΔ͜ͱ͕Ͱ͖
    ΔͷͰର৅ͷΤϯ
    υϢʔβʔͷϦΫ
    Τετ͕ͲΕ͔Θ
    ͔Δʂ

    View full-size slide

  27. ● 0QFO5FMFNFUSZ5SBDFTΛར༻ͨ͠ՄࢹԽ

    2. OpenTelemetry ͱ͸
    https://opentelemetry.io/docs/concepts/observability-primer/#distributed-traces
    ܦա࣌ؒ
    ਌ࢠؔ܎
    ղܾᶃ

    search αʔϏεͷ
    Τϥʔ͸਌ࢠؔ܎Λ
    ͨͲΔ͜ͱ͕Ͱ͖
    ΔͷͰର৅ͷΤϯ
    υϢʔβʔͷϦΫ
    Τετ͕ͲΕ͔Θ
    ͔Δʂ
    ղܾᶄ

    ԣ௕ͳϒϩοΫ(εύϯͱݺͿ)͕଎౓Ϙ
    τϧωοΫͱ͙͢Θ͔Δ

    View full-size slide

  28. ● 0QFO5FMFNFUSZ5SBDFTͷجຊ֓೦
    ○ 4QBO
    ■ ࣮ߦλεΫͷ୯Ґ
    ■ τϨʔε͸εύϯ 4QBO
    Ͱߏ੒͞ΕΔ
    ○ 5SBDFS
    ■ 4QBOΛੜ੒͢Δ
    ■ ϦΫΤετͳͲͷૢ࡞ͷ୯ҐͰੜ੒͞ΕΔ
    ○ 5SBDFS1SPWJEFS
    ■ 5SBDFSΛੜ੒͢Δ
    ■ ΞϓϦέʔγϣϯͷىಈɾఀࢭͷϥΠϑαΠΫϧʹ߹ΘͤΔ͜ͱ͕ଟ͍
    ○ 5SBDFS&YQPSUFS
    ■ 4QBOͷ৘ใͳͲΛαʔϏεʹ࿈ܞ͢ΔɻϕϯμґଘʹͳΔͷ͸ओʹ͜͜ͷྖҬ

    2. OpenTelemetry ͱ͸

    View full-size slide

  29. ● 0QFO5FMFNFUSZ5SBDFTͷجຊ֓೦

    2. OpenTelemetry ͱ͸
    5SBDFS1SPWJEFS ΞϓϦέʔγϣϯ

    5SBDFS ϢʔβʔϦΫΤετ

    4QBO ॲཧͷ୯Ґ

    View full-size slide

  30. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  31. ● 5SBDFTར༻ͷྲྀΕ
    ᶃ5SBDF&YQPSUFSΛఆٛ
    ᶄ5SBDF&YQPSUFS͔Β5SBDF1SPWJEFSΛੜ੒
    ᶅ5SBDF1SPWJEFS͔Β5SBDFSΛ࡞੒
    ᶆ5SBDFS͔Β4QBOΛ࡞੒ ։࢝

    ᶇ4QBOΛऴྃ
    ˠ($1ͷιʔείʔυྫ ެࣜυΩϡϝϯτΑΓ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  32. ● 5SBDFTར༻ͷྲྀΕ
    ᶃ5SBDF&YQPSUFSΛఆٛ
    ᶄ5SBDF&YQPSUFS͔Β5SBDF1SPWJEFSΛੜ੒
    ᶅ5SBDF1SPWJEFS͔Β5SBDFSΛ࡞੒
    ᶆ5SBDFS͔Β4QBOΛ࡞੒ ։࢝

    ᶇ4QBOΛऴྃ
    ˠ($1ͷιʔείʔυྫ ެࣜυΩϡϝϯτΑΓ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  33. ● 5SBDFTར༻ͷྲྀΕ
    ᶃ5SBDF&YQPSUFSΛఆٛ
    ᶄ5SBDF&YQPSUFS͔Β5SBDF1SPWJEFSΛੜ੒
    ᶅ5SBDF1SPWJEFS͔Β5SBDFSΛ࡞੒
    ᶆ5SBDFS͔Β4QBOΛ࡞੒ ։࢝

    ᶇ4QBOΛऴྃ
    ˠ($1ͷιʔείʔυྫ ެࣜυΩϡϝϯτΑΓ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  34. ● 5SBDFTར༻ͷྲྀΕ
    ᶃ5SBDF&YQPSUFSΛఆٛ
    ᶄ5SBDF&YQPSUFS͔Β5SBDF1SPWJEFSΛੜ੒
    ᶅ5SBDF1SPWJEFS͔Β5SBDFSΛ࡞੒
    ᶆ5SBDFS͔Β4QBOΛ࡞੒ ։࢝

    ᶇ4QBOΛऴྃ
    ˠ($1ͷιʔείʔυྫ ެࣜυΩϡϝϯτΑΓ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  35. ● 5SBDFTར༻ͷྲྀΕ
    ᶃ5SBDF&YQPSUFSΛఆٛ
    ᶄ5SBDF&YQPSUFS͔Β5SBDF1SPWJEFSΛੜ੒
    ᶅ5SBDF1SPWJEFS͔Β5SBDFSΛ࡞੒
    ᶆ5SBDFS͔Β4QBOΛ࡞੒ ։࢝

    ᶇ4QBOΛऴྃ
    ˠ($1ͷιʔείʔυྫ ެࣜυΩϡϝϯτΑΓ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  36. ● 5SBDFTར༻ͷྲྀΕ
    ᶃ5SBDF&YQPSUFSΛఆٛ
    ᶄ5SBDF&YQPSUFS͔Β5SBDF1SPWJEFSΛੜ੒
    ᶅ5SBDF1SPWJEFS͔Β5SBDFSΛ࡞੒
    ᶆ5SBDFS͔Β4QBOΛ࡞੒ ։࢝

    ᶇ4QBOΛऴྃ
    ˠ($1ͷιʔείʔυྫ ެࣜυΩϡϝϯτΑΓ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide


  37. 3. Go Ͱ OpenTelemetryೖ໳
    https://cloud.google.com/trace/docs/setup/go-ot?hl=ja#install-client

    View full-size slide


  38. 3. Go Ͱ OpenTelemetryೖ໳
    https://cloud.google.com/trace/docs/setup/go-ot?hl=ja#install-client
    ᶃ5SBDF&YQPSUFS ͱ3FTPVSDF
    Λఆٛ

    View full-size slide


  39. 3. Go Ͱ OpenTelemetryೖ໳
    https://cloud.google.com/trace/docs/setup/go-ot?hl=ja#install-client

    View full-size slide


  40. 3. Go Ͱ OpenTelemetryೖ໳
    https://cloud.google.com/trace/docs/setup/go-ot?hl=ja#install-client
    ᶄ5SBDF&YQPSUFSͱ3FTPVSDF͔Β5SBDF1SPWJEFSΛੜ੒

    View full-size slide


  41. 3. Go Ͱ OpenTelemetryೖ໳
    https://cloud.google.com/trace/docs/setup/go-ot?hl=ja#install-client
    ᶅ5SBDF1SPWJEFS͔Β5SBDFSΛ࡞੒

    View full-size slide


  42. 3. Go Ͱ OpenTelemetryೖ໳
    https://cloud.google.com/trace/docs/setup/go-ot?hl=ja#install-client
    ᶆ5SBDFS͔Β4QBOΛ࡞੒ ։࢝

    View full-size slide


  43. 3. Go Ͱ OpenTelemetryೖ໳
    https://cloud.google.com/trace/docs/setup/go-ot?hl=ja#install-client
    ᶇ ର৅ͷૢ࡞͕ऴྃͨ͠Β
    4QBOΛऴྃ

    View full-size slide

  44. Span ͷ࡞Γํ͸Θ͔ͬͨ
    Ͱ΋...


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  45. Ͳ͜Ͱ Span Λ࡞Ε͹ྑ͍ʁ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  46. ● 4QBOͷಋೖϙΠϯτ

    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  47. ● 4QBOͷಋೖϙΠϯτ
    ○ ϚΠΫϩαʔϏεͷϘτϧωοΫ͕ؾʹͳΔ
    ■ ˠ)551 H31$αʔόʔͰ4QBOΛ࡞੒
    ○ ετϨʔδ΁ͷΞΫηεͷϘτϧωοΫ͕ؾʹͳΔ
    ■ ˠ3%# 3FEJT ͳͲ΁ͷΞΫηεͷࡍͷΫϥΠΞϯτͰ4QBOΛ࡞੒
    ○ ΞϓϦέʔγϣϯͷಛఆͷϩδοΫͷ଎౓͕ؾʹͳΔ
    ■ ˠ4QBOΛ࡞੒ ͖͞΄Ͳͷྫ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  48. ͯ͜ͱ͸...


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  49. echo ͷ middleware ͱ͔ॻ͘ͷ͔...
    zap ʹ΋ରԠ͍͚ͤͨ͞Ͳ
    (େมͦ͏ͩͳ͊)


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  50. ઌਓͷ஌ܙΛ࢖͓͏


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  51. OpenTelemetry Registry


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  52. ● 0QFO5FMFNFUSZ3FHJTUSZ

    3. Go Ͱ OpenTelemetryೖ໳
    https://opentelemetry.io/registry/?language=go&component=instrumentation
    ઌਓͨͪͷDPOUSJCVUJPOΛࢀߟʹͰ͖Δʂ

    View full-size slide

  53. Registry ͷ contrib Λࢀߟʹ͢Ε͹
    طଘͷϥΠϒϥϦ΁ͷ otel ಋೖ͕ϥΫʂ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  54. ͞Βʹ
    otel ͷ࢖͍ํͷࢀߟʹ΋ͳΔ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  55. echo / zap ͷྫΛ֬ೝʂ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  56. echo ͷ contrib (Ұ෦ൈਮ)


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide



  57. 3. Go Ͱ OpenTelemetryೖ໳
    લఏFDIPNJEEMFXBSFΛ࣮૷͢Δ͜ͱͰPUFMରԠ͢Δ

    View full-size slide



  58. 3. Go Ͱ OpenTelemetryೖ໳
    FDIP.JEEMFXBSF'VOD
    લఏFDIPNJEEMFXBSFΛ࣮૷͢Δ͜ͱͰPUFMରԠ͢Δ

    View full-size slide



  59. 3. Go Ͱ OpenTelemetryೖ໳
    FDIP.JEEMFXBSF'VOD
    લఏFDIPNJEEMFXBSFΛ࣮૷͢Δ͜ͱͰPUFMରԠ͢Δ
    DPOUFYUʹUSBDFSΛೖΕ͍ͯΔ

    View full-size slide



  60. 3. Go Ͱ OpenTelemetryೖ໳
    FDIP.JEEMFXBSF'VOD
    લఏFDIPNJEEMFXBSFΛ࣮૷͢Δ͜ͱͰPUFMରԠ͢Δ
    DPOUFYUʹUSBDFSΛೖΕ͍ͯΔ
    SFRVFTU͕དྷ͔ͯΒฦ͢·ͰͰ
    εύϯΛ࡞੒

    View full-size slide

  61. zap ͷ contrib (Ұ෦ൈਮ)


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide



  62. 3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide



  63. 3. Go Ͱ OpenTelemetryೖ໳
    ϥΠϒϥϦԽ͞Ε͍ͯΔͷͰ
    ͜Ε͚ͩͰجຊ͸0,

    View full-size slide

  64. ͳΜͱ͔΍͍͚ͬͯͦ͏ʂ


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  65. ͳΜͱ͔΍͍͚ͬͯͦ͏ʂ
    gRPC, redis client, GORM ΋͋Γ·͢


    3. Go Ͱ OpenTelemetryೖ໳

    View full-size slide

  66. ● ·ͱΊ
    ○ 0QFO5FMFNFUSZ͸෼ࢄγεςϜͷτϨʔγϯάʹ໾ཱͭ
    ■ ଎౓ϘτϧωοΫͷಛఆ΋͠΍͘͢ͳΔ
    ○ 0QFO5FMFNFUSZ5SBDFTͷجຊ֓೦
    ■ 5SBDFS1SPWJEFS5SBDFS4QBO
    ■ ΞϓϦέʔγϣϯϢʔβʔϦΫΤετϚΠΫϩαʔϏεͷॲཧ
    ○ ֤छϥΠϒϥϦͷ0QFO5FMFNFUSZରԠ͸3FHJTUSZΛࢀߟʹ͢Δͱྑ͍
    ■ ͦͷ··࢖͑Δ෦෼΋ଟ͍
    ■ 5SBDFS 4QBOͷѻ͍΋ֶ΂Δ

    4. ·ͱΊ

    View full-size slide