$30 off During Our Annual Pro Sale. View Details »

Mackerelセミナー資料_20190711.pdf

mackerelio
July 11, 2019
170

 Mackerelセミナー資料_20190711.pdf

mackerelio

July 11, 2019
Tweet

More Decks by mackerelio

Transcript

  1. 1 2019/07/11 mackerel.io

  2. 2 ࣗݾ঺հ • Ճݹ ௚ݾʢJEOLBLPʣ • גࣜձࣾ͸ͯͳ ϓϩσϡʔαʔ • .BDLFSFMνʔϜͷࣄۀ੹೚ऀΛ୲౰͍ͯ͠·͢ʂ

    ܦྺ 4*FSͰωοτϫʔΫΤϯδχΞ ϕϯνϟʔͰӦۀ؅ཧ৬Λ୲౰ɺ*10Λܦݧ 0SBDMFͰΫϥ΢υʢ*BB4ʣΛ୲౰ ͸ͯͳ ϏδωεϚωʔδϟʔ ͸ͯͳ ϓϩσϡʔαʔ
  3. 3 ձࣾ঺հ ໊ࣾɿגࣜձࣾ͸ͯͳ ॴࡏ஍ɿ ຊࣾ ˟ژ౎෎ژ౎ࢢதژ۠ޚ஑௨ؒ೭ொ౦ೖߴٶொޚ஑Ϗϧ' ɿ ຊళ ˟౦ژ౎ߓ۠ೆ੨ࢁ੨ࢁαϯϥΠτϏϧ' ઃཱɿ೥݄

    ച্ߴɿ ඦສԁʢ೥݄ݱࡏʣ ैۀһ਺ɿਓʢ೥݄ݱࡏʣ ೥ʹ౦ূϚβʔζࢢ৔ʹ্৔
  4. 4 ͸ͯͳͷϛογϣϯ ʮ஌Δʯʮͭͳ͕Δʯʮදݱ͢Δʯ Ͱ৽͍͠ମݧΛఏڙ͠ɺਓͷੜ׆Λ๛͔ʹ͢Δ

  5. 5 .BDLFSFMͱ͸ʁ

  6. 6 ࠷ߴͷυοάϑʔσΟϯά؀ڥ͔Βੜ·Ε·ͨ͠ ౰ॳ͸/BHJPTΛ࢖ͬͯαʔό؅ཧΛ࣮ࢪ ଟ͗͢Δ؂ࢹର৅΍؂ࢹ߲໨͕ɺ ૿͑ଓ͚ΔΠϯϑϥӡ༻ͷෛՙʹ ྲྀಈతͳΠϯϑϥʹରԠ͢ΔΛϞοτʔʹࣗࣾ੡؂ࢹπʔϧΛ࡞੒։࢝ ʢॳ୅.BDLFSFMͷ஀ੜʣ ෺ཧαʔό୆ʢԾ૝Խ͠໿୆ʣʴ "84ͷΫϥ΢υར༻΋࢝·Γ৽؀ڥʹ దͨ͠.BDLFSFM͕஀ੜ

    Ϋϥ΢υͷຊ֨ීٴΛड͚ɺΑΓ࢖͍উखͷྑ͍πʔϧͱͯ͠4BB4ܕ؂ࢹαʔϏεͱͯ͠ ੡඼൛.BDLFSFMϦϦʔεʹணख ೥Ҏલ ೥ʙ ೥ʙ ೥ʙ ೥౰࣌ͷ.BDLFSFM ొ࿥Ϣʔβʔ਺ ສਓ ݄ؒϢχʔΫϒϥ΢β਺ ԯਓΛތΔ͸ͯͳͷαʔϏ εʢ͸ͯͳϒοΫϚʔΫɺ͸ͯͳϒϩάͳͲʣ΋.BDLFSFMʹΑͬͯࢧ͑ΒΕ͍ͯ·͢ɻ
  7. 7 ΤϯδχΞΛऔΓר͘؀ڥ ɾ·͢·͢ಈతͰศརʹͳΔΠϯϑϥετϥΫνϟʔ ɾޮ཰తʹෳࡶੑͱ޲͖߹͏͜ͱ͕ٻΊΒΕΔ

  8. 8

  9. 9 DevOpsͷத֩ͱͯ͠ Mackerel͸୯ͳΔ؂ࢹαʔϏεͰ͸͋Γ·ͤΜ ༷ʑͳ࢓૊Έͱ؆୯ʹ૊Έ߹Θͤɺ։ൃ΍ӡ༻ϥΠϑαΠΫϧͷ த֩ͱͯ͠ޮ཰ԽΛଅਐ͠·͢ Dev Ops

  10. 10 国内初のDevOpsコンピテンシー認定を取得

  11. 11 ΞʔΩςΫνϟ Mackerel͔Β ֎෦αʔϏε ΁ͷ௚઀؂ࢹ ΤʔδΣϯτ͔Β ϝτϦοΫΛ౤ߘ HTTPS REST API

  12. 12 ؆୯ɻ͙͢ ͸͡ΊΒΕ·͢ • ΨΠυʹ͕ͨͬͯ͠ίϚϯυΛ࣮ߦ͢Δ͚ͩ • ਺෼͋Ε͹े෼Ͱ͢ • ΤʔδΣϯτ͕ࢮ׆؂ࢹΛࣗಈతʹ։࢝ •

    ΤʔδΣϯτ͕ϦιʔεͷϝτϦΫεΛࣗಈऔಘ mackerel-agent written in Go
  13. 13 ࣄྫ঺հ

  14. 14 ಋೖࣄྫʢGSFFF༷ʣ ˞TQFBLFSEFDL IUUQTTQFBLFSEFDLDPNNBOBCVTBLBJ[BCCJYUPNBDLFSFM

  15. 15 GSFFF༷ͷ՝୊ ɾ;BCCJYࣗମͷӡ༻ίετ͕ߴ͍  )PVTF,FFQFSͷෛՙͱͷઓ͍ʢཁͷ؂ࢹʹӨڹΛٴ΅͢ʣ  .Z42- *014ͷνϡʔχϯά ؂ࢹ߲໨ͷ௥Ճ͕໘౗ ;BCCJYαʔόࣗମͷόʔδϣϯΞοϓɺ৑௕ԽͳͲ

    ɾΫϥ΢υ؂ࢹʹ޲͍͍ͯͳ͍ શମͷ܏޲ΛݟΔඞཁ͕͋Δ͕ɺ;BCCJYͰ͸޻෉͕ඞཁ 71$ຖʹ;BCCJYΛཱͯΔඞཁ͕͋Δ ɾ։ൃऀ͕׆༻Ͱ͖͍ͯͳ͍ʢΠϯϑϥνʔϜ͚͕ͩݟΕ͹ྑ͍ʁʣ
  16. 16 ϩʔϧ͕࠷ߴͷརศੑΛ ༧ΊαʔϏεʗϩʔϧʗϗετΛࢦఆ͢Δ͜ͱͰɺࣗಈతʹάϥ ϑ΍؂ࢹઃఆͳͲ͕ઃఆ͞ΕΔͨΊɺಛʹେن໛؀ڥͰͷӡ༻ෛ ՙܰݮʹޮՌతͰ͢

  17. 17 .BDLFSFMʹҠߦͯ͠Ͳ͏ͳ͔ͬͨʁ • શମతͳαʔό૿ݮͷ܏޲ΛϩʔϧͰ೺ѲͰ͖ΔΑ͏ʹ • ίετμ΢ϯΛ࣮ݱ ϩʔϧ͝ͱʹదਖ਼ͳ୆਺Λ೺Ѳ͢Δ͜ͱ͕Ͱ͖ͨ "VUP4DBMJOHͰ୆਺Λௐ੔͠ʙͷΠϯϑϥίετ࡟ݮ े෼ʹ.BDLFSFMͷίετ͸ϖΠ •

    ΠϯϑϥνʔϜ͚ͩͰͳ͘ɺΞϓϦέʔγϣϯΤϯδχΞ΋Ұ ൠతͳ8FCٕज़Λ࢖ͬͯ.BDLFSFMΛϋοΫ͢ΔΑ͏ʹͳͬͨ ʢ%FW0QTͷମݱʣ • Ҡߦࣗମ͸ʙϲ݄Ͱे෼ʹՄೳ
  18. 18 -FUbTEFNPOTUSBUJPO

  19. 19 Ձ֨ɺτϥΠΞϧ

  20. 20 αʔϏεϓϥϯ ϘϦϡʔϜσΟεΧ΢ϯτ͋Γ

  21. 21 .BDLFSFMͷಋೖ·Ͱͷϑϩʔ τϥΠΞϧ ຊ൪ಋೖ ӡ༻։࢝ ͝ܖ໿ Ϋʔϙϯ ίʔυൃߦ ੥ٻॻ෷͍ɾϘϦϡʔϜσΟεΧ΢ϯτͷΈ ˞िؒ

    ಋೖ͔Βӡ༻·Ͱɺ$3& ͕Ұ؏ͯ͠ ೔ຊޠ Ͱαϙʔτ͠·͢ʂ
  22. 22 ͓٬༷

  23. 23 ࣄྫͨ͘͞Μ࡞͍͖ͬͯ·͢ʂ IUUQTNBDLFSFMJPKBCMPH

  24. 24 એ఻ ͓஌Βͤ ϦϦʔεप೥ʹ͖ͭ .BDLFSFM'FTʢԾশʣ Λ݄ʹ։࠵༧ఆʂ

  25. 25 NBDLFSFMJP