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

Zipkinの概要と新UI"Zipkin Lens"の紹介 / Introduction of Zipkin and its new UI "Zipkin Lens"

Zipkinの概要と新UI"Zipkin Lens"の紹介 / Introduction of Zipkin and its new UI "Zipkin Lens"

2019/4/17にLINE Fukuokaで開催されたLINE Developer meetup #52での登壇資料です

53850955f15249a1a9dc49df6113e400?s=128

LINE Developers
PRO

April 17, 2019
Tweet

Transcript

  1. Zipkinͷ֓ཁͱ ৽UI "Zipkin Lens" ͷ঺հ -*/&%FWFMPQFSNFFUVQJO'VLVPLB -*/&גࣜձࣾ ޒेཛྷୖຏ 

  2. ࣗݾ঺հ w-*/&גࣜձࣾ
 %BUB4DJFODFBOE&OHJOFFSJOHηϯλʔ
 &OHJOFFSJOH*OGSBTUSVDUVSFࣨ
 0CTFSWBCJMJUZ*OGSBTUSVDUVSFνʔϜॴଐଔ w෼ࢄτϨʔγϯάͱ͔ϞχλϦϯά΍ͬͯ·͢ w;JQLJOͷ৽͍͠6*΍ͬͯ·͢ w޷͖ͳݴޠ͸-VB

  3. ໨࣍ w෼ࢄτϨʔγϯάγεςϜ;JQLJOͷ֓ཁ w;JQLJO-FOTͷ঺հ

  4. ໨࣍ w෼ࢄτϨʔγϯάγεςϜ;JQLJOͷ֓ཁ w;JQLJO-FOTͷ঺հ

  5. ;JQLJOͱ͸ w ෼ࢄτϨʔγϯάγεςϜ w (PPHMF%BQQFSͷ࿦จΛݩʹσβΠϯ w "1*ݺͼग़͠ͷϨΠςϯγʔ౳ΛՄࢹԽ w .JDPSTFSWJDF"SDIJUFDUVSFʹ͓͚ΔϨΠςϯγʔ໰୊
 ͷղܾΛิॿ

  6. ࢖༻σʔλIUUQTHJUIVCDPNBQBDIFJODVCBUPS[JQLJOCMPCNBTUFS[JQLJOVJUFTUEBUBNFTTBHJOHLBGLBKTPO

  7. ༻ޠ 4QBOҰͭͷαʔϏε ڥք ಺ͷॲཧ 5SBDFϦΫΤετͷ4UBSU͔Β&OE·ͰΛؚΉ4QBOͷू߹ମ 4QBO 5SBDF 4FSWJDF" 4FSWJDF# 4FSWJDF$

  8. ;JQLJOͷ࢓૊Έ  4FSWJDF" 4FSWJDF# 4FSWJDF$ ;JQLJO4FSWFS ᶃ4QBOσʔλΛૹ৴ 4UPSBHF ᶄ4QBOσʔλΛ
 ετϨʔδʹอଘ

    ;JQLJO6* ᶅ4QBOσʔλऔಘ ᶆ5SBDFͱͯ͠
 ՄࢹԽ *OTUMJC *OTUMJC *OTUMJC
  9. 4QBOσʔλ \ "traceId": "05fd97638ff8c16e", "id": "a88b722c1148d7b5", "parentId": "05fd97638ff8c16e", "name": "getA",

    "kind": "CLIENT", "timestamp": 1554872125175553, "duration": 16181, "tags": { … }, … ^ 5SBDFΛࣝผ͢Δ*% ಉ͡*%Λ࣋ͭ4QBO͸ಉ͡5SBDF ਌4QBOͷ*% ਌ࢠؔ܎ʹΑΓ5SBDF͕Ͱ͖Δ ͜ͷ4QBOࣗମͷ*%
  10. ;JQLJOͷ࢓૊Έ  4FSWJDF" 4FSWJDF# 4FSWJDF$ 5SBDF*%ੜ੒ ;JQLJO4FSWFS )FBEFSʹ
 *OKFDU *OTUMJC

    9#5SBDF*Eʜ 9#4QBO*Eʜ 9#1BSFOU4QBO*Eʜ )FBEFS͔Β
 &YUSBDU )FBEFSʹ
 *OKFDU )FBEFS͔Β
 &YUSBDU 9#5SBDF*Eʜ 9#4QBO*Eʜ 9#1BSFOU4QBO*Eʜ )FBEFSΛ༻͍ͯ5SBDFͷ৘ใΛ࣍ͷαʔϏεʹ఻ୡ͢Δ *OTUMJC *OTUMJC
  11. ;JQLJOपล w αʔϏε͔Β;JQLJOαʔόʹ4QBOσʔλΛૹΔํ๏
 ,BGLB3BCCJU.2)551ʜ w *OTUSVNFOUFE-JCSBSJFT
 #SBWF;JQLJO(P;JQLJO+4;JQLJO1)1ʜ w ࢖༻ՄೳετϨʔδ
 &MBTUJDTFBSDI$BTTBOESB.Z42-ΠϯϝϞϦ

  12. ;JQLJO%FQFOEFODJFT w ऩूͨ͠4QBOσʔλ͔ΒαʔϏεؒͷґଘؔ܎Λ
 ෼ੳ͢Δ4QBSL+PC ࢖༻σʔλIUUQTHJUIVCDPNBQBDIFJODVCBUPS[JQLJOCMPCNBTUFS [JQLJOVJUFTUEBUBTNBSUUIJOHTNPCJMFXFCJOTUBMMKTPO

  13. ༨ஊզʑͷ৔߹  w ;JQLJOαʔό
 ;JQLJOΛϞδϡʔϧͱͯ͠࢖ͬͨΧελϜαʔό
 5ISJGUͷ31$"1*Λఏڙ͍ͯ͠Δ w ετϨʔδ
 ໓஡ۤ஡ྑ͍&MBTUJDTFBSDIΫϥελ
 ✍໿LTQBONJOͷॻ͖ࠐΈ

    w ;JQLJO%FQFOEFODJFT༻ͷ4QBSLΫϥελ
 %BUBDIBJOνʔϜͷ΋ͷΛؒआΓ
  14. ༨ஊզʑͷ৔߹  w *OTUSVNFOUFE-JCSBSZ
 5ISJGU31$"1*Λୟ͘ΧελϜϥΠϒϥϦ w 6TFS*OUFSGBDF
 ৽6*ʮ;JQLJO-FOTʯ

  15. ໨࣍ w෼ࢄτϨʔγϯάγεςϜ;JQLJOͷ֓ཁ w;JQLJO-FOTͷ঺հ

  16. ;JQLJO-FOTͱ͸ w ;JQLJOͷ৽͍͠6* w ݩʑ-*/&ࣾ಺Ͱ։ൃ͍ͯͨ͠
 IUUQTHJUIVCDPNMJOF[JQLJOMFOT w ݱࡏ͸ຊՈ;JQLJOϦϙδτϦͰ։ൃ

  17. ࢖༻ٕज़ w ࢖༻ݴޠίϯύΠϥόϯυϥ
 &$."4DSJQU#BCFMXFCQBDL w جຊϥΠϒϥϦ
 3FBDU3FEVY3FBDU3PVUFSʜ w ίϯϙʔωϯτϥΠϒϥϦ
 3FBDU4FMFDU7J[DFSBMʜ

  18. σϞ

  19. ;JQLJO-FOTͷาΈ  w ݩʑࣾ಺ʹ͸ΧελϜͷ;JQLJO͕ଘࡏ͍ͯͨ͠
 ϚΠΫϩαʔϏεԽ͍ͯ͠Δ4IPQνʔϜ͕ಋೖ؅ཧ w ڈ೥ͷय़͘Β͍ʹฐνʔϜ͕؅ཧ͢ΔΑ͏ʹ w αʔό͸ΧελϜ͕ͩͬͨ6*͸ΦϦδφϧͷ;JQLJO6*

  20. ;JQLJO-FOTͷาΈ  w ͔ͤͬ͘؅ཧ͢ΔͳΒ͹ΑΓ࢖͍΍͍ͨ͘͢͠ w ·ͣࣾ಺ͷڞ௨ͷ֓೦Ͱ͋Δ*OTUBODF*%ͱ1IBTFΛ
 ༻͍ͨ5SBDFͷݕࡧ͕Ͱ͖ΔΑ͏ʹ͍ͨ͠ w *OTUBODF*%ϓϩδΣΫτ໊Έ͍ͨͳ΋ͷ w

    1IBTF؀ڥΈ͍ͨͳ΋ͷ
  21. چ6*ͷ৔߹ʜ "OOPUBUJPO2VFSZΛ࢖͏Ҏ֎ͷํ๏͕ͳ͔ͬͨ

  22. "OOPUBUJPO2VFSZͷ໰୊఺ w 'PSNBUΛ֮͑Δඞཁ͕͋Δ
 ✍LFZWBMVFBOELFZBOELFZWBMVFʜ w ,FZͱ7BMVFΛ஌͓ͬͯ͘ඞཁ͕͋Δ w ͦ΋ͦ΋௕͍จࣈྻΛଧͪࠐΈͨ͘ͳ͍

  23. ;JQLJO-FOTͷาΈ  w ݩʑΧελϜαʔόͳͷͰ"1*ͷ௥Ճ͸؆୯ w Ұํɺ6*ʹؔͯ͠͸ݹ͍ϥΠϒϥϦ͕࢖ΘΕ͓ͯΓ
 ඇৗʹೖΓ૊ΜͰ͍ͨͨΊख͕෇͚ΒΕͳ͔ͬͨ
 'MJHIU+4K2VFSZFUDʜ w ͱ͍͏͜ͱͰ࡞Γ௚ͨ͠ʜ

  24. None
  25. *OTUBODF*%ͱ1IBTF ʹΑΔݕࡧΛαϙʔτʂ

  26. ;JQLJO-FOTͷาΈ  w ͦΕͬΆ͍ͷ͕ग़དྷͨͷͰ;JQLJOίϛϡχςΟʹ঺հ w ৭ʑ͋ͬͯ044Խ͞Ε;JQLJOϦϙδτϦʹೖΔ
 IUUQTHJUIVCDPNBQBDIFJODVCBUPS[JQLJOUSFFNBTUFS[JQLJOMFOT

  27. Ҿ༻ݩɿIUUQTHJUIVCDPNMJOF[JQLJOMFOT *OTUBODF*%ͱ1IBTFʹΑΔ
 ݕࡧ͸Ұ୴࡟আ ෆධͩͬͨ4DBUUFSάϥϑ΋࡟আ

  28. ;JQLJO-FOTͷาΈ  w ίϛϡχςΟͷΞυόΠεΛड͚σβΠϯΛվળ w ݕࡧͷ6*Λ΋ͬͱΠέͯΔײ͡ʹ͠Α͏ w ࠇ͍ςʔϚ͸ݟʹ͍͘ w ΋ͬͱϑϥοτͳײ͡ʹ͠Α͏

    w FUDʜ
  29. ࢖༻σʔλIUUQTHJUIVCDPNBQBDIFJODVCBUPS[JQLJOUSFFNBTUFS[JQLJOVJUFTUEBUB ന͍ςʔϚ φ΢ͳݕࡧόʔ શମతʹϑϥοτͳσβΠϯ

  30. ࢖༻σʔλIUUQTHJUIVCDPNBQBDIFJODVCBUPS[JQLJOUSFFNBTUFS[JQLJOVJUFTUEBUB

  31. ;JQLJO-FOTͷาΈ  w ࠷ॳͷ։ൃͷಈػͰ͋ͬͨ*OTUBODF*%1IBTFʹΑΔ
 ݕࡧػೳ͸ɺΑΓҰൠతͳ4JUFTQFDJpD5BHTػೳͱͯ͠
 ࣮૷͞ΕΔ w ࣗ෼͸6*ଆΛɺαʔόαΠυ͸ଞͷϝϯόʔ͕࣮૷ w 044ૉ੖Β͍͠ʜ

  32. *OTUBODF*%ͱ1IBTF
 ʹΑΔݕࡧ͕Մೳ

  33. ஋ͷิ׬΋͖͘

  34. 'VUVSFXPSL w 5ZQF4DSJQUԽ
 ݱࡏ͸׬શʹ&$."4DSJQU w 5SBDFάϥϑͷܰྔԽ
 ڊେͳάϥϑͷ৔߹ॲཧ͕ॏ͘ͳΔ
 47(ԽPS$BOWBTԽ w %FQFOEFODJFTάϥϑͷվྑ

    w FUDʜ
  35. 5IBOLZPV