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

Mackerel の概要から新機能と Twilio 連携のご紹介

Mackerel の概要から新機能と Twilio 連携のご紹介

Twilioビジネスセミナー Vol.31 - TwilioxMackerelで実現する運用監視ソリューション https://twiliomeetup.doorkeeper.jp/events/52801 での登壇資料です。

Daisuke Inoue

October 20, 2016
Tweet

More Decks by Daisuke Inoue

Other Decks in Technology

Transcript

  1. 1 / 99
    .BDLFSFMͷ֓ཁ͔Β৽ػೳͱ
    5XJMJP ࿈ܞͷ͝঺հ
    5XJMJPϏδωεηϛφʔ 7PM

    גࣜձࣾ͸ͯͳ Ҫ্ େี

    View full-size slide

  2. 2 / 99
    Ҫ্ େีʢJEBLOPXʣ
    גࣜձࣾ͸ͯͳ
    αʔϏεɾγεςϜ։ൃຊ෦
    .BDLFSFMνʔϜ ηʔϧεΤϯδχΞ
    ܦྺ
    n ੡଄ܥ 4*FS ʹͯγεςϜΤϯδχΞ
    n ιʔγϟϧήʔϜ όοΫΤϯυγεςϜ։ൃΤϯδχΞ
    n ޿ࠂܥιϦϡʔγϣϯ ։ൃΤϯδχΞ݉εΫϥϜϚελʔ
    n ೥݄ ͸ͯͳʹೖࣾ
    • ϓϦηʔϧε
    • ςΫχΧϧαϙʔτ
    • ϋϯζΦϯߨࢣ ౳
    !B@LOPX

    View full-size slide

  3. 3 / 99
    ΞδΣϯμ
    ͸ͯͳʹ͍ͭͯ
    .BDLFSFM஀ੜͷഎܠ
    .BDLFSFMͷ֓ཁ
    ෯޿͍௨஌࿈ܞαϙʔτͱ 5XJMJP ࿈ܞ
    Ϋϩʔδϯά

    View full-size slide

  4. 4 / 99

    ͸ͯͳʹ͍ͭͯ

    View full-size slide

  5. 5 / 99
    ͸ͯͳ ʹ͍ͭͯ

    View full-size slide

  6. 6 / 99
    ͸ͯͳ ͷαʔϏε

    View full-size slide

  7. 7 / 99
    ͸ͯͳ ͷαʔϏε

    View full-size slide

  8. 8 / 99
    ͸ͯͳ ͷαʔϏε

    View full-size slide

  9. 9 / 99
    ͸ͯͳ ͷαʔϏε

    View full-size slide

  10. 10 / 99
    ձࣾ֓ཁ
    ॴࡏ஍ ژ౎ʢӊؙޚ஑ʣ
    ౦ژʢදࢀಓʣ
    ࢿຊۚ ઍԁ
    ࢢ৔ ౦ূϚβʔζʢ೥݄ ্৔ʣ
    ઃཱ ೥݄ʢ೥໨ʣ
    ૑ۀऀ ۙ౻ ३໵
    ࣾ௕ ܀੘ ٛਉ
    lʮ஌Δʯʮͭͳ͕Δʯʮදݱ͢ΔʯͰ৽͍͠ମݧΛ
    ఏڙ͠ɺਓͷੜ׆Λ๛͔ʹ͢Δz

    View full-size slide

  11. 11 / 99

    .BDLFSFM ஀ੜͷഎܠ

    View full-size slide

  12. 12 / 99
    .BDLFSFM஀ੜͷഎܠ
    n ͨ͘͞ΜͷαʔϏεɺͨ͘͞ΜͷϢʔβʔ
    • ొ࿥Ϣʔβʔʢձһʣ਺ɿສਓ
    • ݄ؒϢχʔΫϒϥ΢β਺ɿԯ ສ
    • ݄ؒϢχʔΫϢʔβʔ਺ɿ ສਓ
    n ͦΕΛࢧ͑ΔΠϯϑϥج൫΋େن໛ͳ΋ͷʹ

    View full-size slide

  13. 13 / 99
    Πϯϑϥӡ༻ʹ͓͚Δ՝୊
    n Πϯϑϥج൫ͷ؀ڥͷมԽ
    • ࣗ࡞ͷαʔόػͰαʔϏεΛఏڙʢ૑ۀظʣ
    Ø σʔληϯλʔͰͷΦϯϓϨ؀ڥͱύϒϦοΫΫϥ΢υͱͷ
    ϋΠϒϦουɾ਺ઍ୆ن໛ʢʙݱࡏʣ
    • ਺ेͷαʔϏεΛఏڙ͢ΔͨΊͷϗετ܈
    Ø ֤αʔϏεʹ͓͚Δϗετͷ໾ׂ΋༷ʑʢ਺ेʙ਺ඦʣ
    n ͔͠͠ɺΠϯϑϥΤϯδχΞ͸਺໊
    n ͸ͯͳͷେن໛Πϯϑϥج൫Λ͍͔ʹޮ཰Α͘ɺ
    ࣋ଓతʹ؅ཧ͢Δ͔ʁ

    View full-size slide

  14. 14 / 99
    .BDLFSFMͷ஀ੜ
    n ࣾ಺πʔϧʮ.BDLFSFMʯͷ஀ੜ
    • NBDLFSFMαό
    n ݱࡏͷʮ.BDLFSFMʯ͸୅໨
    • ͸ͯͳͷΠϯϑϥج൫Λࢧ͑Δϊ΢ϋ΢͕ू໿͞Εͨ
    πʔϧͰ͋Δ .BDLFSFMΛચ࿅ͤͨ͞΋ͷ
    • ϏδωεϓϥϯίϯςετΛܦͯࣄۀԽ
    • ϦϦʔεप೥ʢ೥݄ʣ
    چ.BDLFSFM

    View full-size slide

  15. 15 / 99

    .BDLFSFM ͷ֓ཁ

    View full-size slide

  16. 17 / 99
    ಛ௕ᶃ 4BB4ܕͷαʔό؂ࢹαʔϏε
    n 4PGUXBSFBTB4FSWJDF
    l Πϯλʔωοτܦ༝ͰඞཁͳػೳΛར༻Ͱ͖Δ࢓૊ΈͰͷ
    αʔϏεͷఏڙΛ͍ͯ͠Δ΋ͷ
    n ϝϦοτ
    l ϑϧϚωʔδυͷͨΊɺϝϯςφϯεෆཁ
    n σϝϦοτ
    l Πϯλʔωοτʹ઀ଓͰ͖ͳ͍ͱར༻Ͱ͖ͳ͍έʔε͕ଟ͍

    View full-size slide

  17. 18 / 99
    ಛ௕ᶄ QVTIܕͷ؂ࢹ
    n ؂ࢹର৅ͷαʔό͕؂ࢹαʔϏεʹରͯ͠৘ใΛૹΔʢQVTIʣ
    l ιϑτ΢ΣΞͷΠϯετʔϧ͸ඞཁ͕ͩɺ֎෦ʹର͢ΔΠϯλʔ
    ωοτΞΫηε͑͞Ͱ͖Ε͹ 0,
    ؂ࢹର৅αʔό
    QVTI

    View full-size slide

  18. 19 / 99
    ʮ.BDLFSFMʯΛߏ੒͢Δɺͭͷେ͖ͳཁૉ
    n .BDLFSFMʢ8FCʣͱɺNBDLFSFMBHFOU

    View full-size slide

  19. 20 / 99
    .BDLFSFMʢ8FCʣ

    View full-size slide

  20. 21 / 99
    .BDLFSFMʢ8FCʣ

    View full-size slide

  21. 22 / 99
    NBDLFSFMBHFOU
    • ؂ࢹର৅αʔόͷ৘ใΛ .BDLFSFMαʔόʹૹΓଓ͚Διϑτ΢ΣΞ
    • αʔό্ͰίϚϯυΛ਺ճ࣮ߦ͢Δ͚ͩͰΠϯετʔϧ׬ྃʂ
    • ΤʔδΣϯτىಈޙɺ͙͢ʹɾ؆୯ʹ؂ࢹΛ࢝ΊΔ͜ͱ͕Ͱ͖·͢
    NBDLFSFMBHFOU

    View full-size slide

  22. 23 / 99
    .BDLFSFMʹ͓͚Δͭͷ֓೦
    n .BDLFSFMʹ͓͚Δͭͷ֓೦
    • ΦʔΨχθʔγϣϯ
    • αʔϏε
    • ϩʔϧ

    View full-size slide

  23. 24 / 99
    ΦʔΨχθʔγϣϯ
    n ௚༁͢Δͱʮ૊৫ʯ
    n جຊతʹ͸ʮ૊৫ʯ୯ҐͰ࡞੒ͯ͠௖͍ͯ໰୊͋Γ·ͤΜ
    • ฐࣾɾ͸ͯͳͰ΋ɺʮIBUFOBʯͱ͍͏ΦʔΨχθʔγϣϯΛ
    ࡞Γɺ؂ࢹΛߦ͍ͬͯ·͢

    View full-size slide

  24. 25 / 99
    αʔϏε
    n จࣈ௨ΓɺʮαʔϏεʯ
    n ૊৫Ͱఏڙ͍ͯ͠ΔαʔϏε୯Ґʹ࡞੒͢Δ
    n ʮͦͷαʔϏεΛఏڙ͢ΔͨΊʹଘࡏ͍ͯ͠ΔαʔόʯΛ·ͱΊͯ
    ؅ཧ͢ΔͨΊͷ֓೦

    View full-size slide

  25. 26 / 99
    ϩʔϧ
    n Ұఆن໛Ҏ্ͷ *5αʔϏεͷఏڙʹ͸ɺෳ਺୆ͷαʔό͕ෆՄܽ
    • શͯͷαʔόʹ͸ɺԿΒ͔ͷ໾ׂ͕༩͑ΒΕ͍ͯΔ͸ͣ
    • ಉ͡໾ׂΛ࣋ͬͨαʔό΋ෳ਺ʹ
    σʔλϕʔε༻αʔό όονॲཧ༻αʔό
    8FCαʔό

    View full-size slide

  26. 27 / 99
    ϩʔϧ
    n ໾ׂ୯ҐͰαʔόͷঢ়ଶΛ֬ೝͰ͖Δͷ͕ .BDLFSFMͷಛ௕Ͱ͢

    View full-size slide

  27. 28 / 99
    ϩʔϧ
    n ॲཧྔʹԠͯ͡ɺαʔόͷ୆਺Λಈతʹɾ໾ׂ͝ͱʹ૿ݮͤ͞Δ͜ͱ΋
    ".
    8FCαʔό
    ".
    8FCαʔό
    ".
    8FCαʔό

    View full-size slide

  28. 29 / 99
    ϩʔϧ
    n ໾ׂ୯ҐͰαʔόͷঢ়ଶΛ֬ೝͰ͖Δͷ͕ .BDLFSFMͷಛ௕Ͱ͢
    • ಈతͳαʔόͷ૿ݮʹ΋εϚʔτʹରԠ
    サーバの増強 サーバの縮退

    View full-size slide

  29. 30 / 99
    .BDLFSFMʹ͓͚Δͭͷ֓೦
    n .BDLFSFMʹ͓͚Δͭͷ֓೦
    • ΦʔΨχθʔγϣϯ
    • αʔϏε
    • ϩʔϧ

    View full-size slide

  30. 32 / 99
    ΤϯδχΞͷlϫΫϫΫzΛՃ଎ɾࢧԉ
    • ͞·͟·ͳπʔϧͱͷ࿈ܞͷ͠΍͢͞
    ։ൃ ӡ༻

    View full-size slide

  31. 33 / 99
    .BDLFSFMͷ
    ୅දతͳػೳʹ͍ͭͯ

    View full-size slide

  32. 34 / 99
    ͨ͘͞Μͷ؂ࢹαϙʔτ
    • ΤʔδΣϯτ୯ମͰ΋جຊతͳ߲໨͸؂ࢹՄೳ
    • ϓϥάΠϯػߏͰଟ਺ͷ؂ࢹ߲໨ʹ΋ॊೈʹରԠՄೳ
    • ެࣜϓϥάΠϯ
    • ਓؾͷ044πʔϧϓϥάΠϯ
    • ࣗ࡞ϓϥάΠϯ։ൃ΋؆୯ʹ

    View full-size slide

  33. 35 / 99
    "84ΠϯςάϨʔγϣϯ
    n "84Ϋϥ΢υ੡඼Λ .BDLFSFM؅ཧϗετͱͯ͠ొ࿥
    l ઃఆ͸؆୯ͳखॱͰ׬݁
    • 3FBE0OMZ ΞΫηεΩʔ PS"TTVNF3PMF
    l ΤʔδΣϯτΛΠϯετʔϧͰ͖ͳ͍ϚωʔδυαʔϏεʹ΋ରԠ
    l &$&-#3%4&MBTUJ$BDIF ʹରԠ

    View full-size slide

  34. 36 / 99
    কདྷ༧ଌػೳ
    • աڈͷ܏޲Λ෼ੳ͠কདྷΛ༧ଌɺͦͷ༧ଌʹج͍ͮͯܯࠂ͠·͢
    • ྫ͑͹ɺσΟεΫ͕ރׇ͢Δϱ݄લʹܯࠂɺͱ͍͏͜ͱ΋ՄೳͰ͢
    $SJUJDBM
    কདྷ
    5SFOET
    ϱ݄લ
    ݱࡏ

    View full-size slide

  35. 37 / 99
    63-֎ܗ؂ࢹ
    ᶃ֎ܗ؂ࢹઃఆʹैͬͯ 63-ʹΞΫηεʢIUUQIUUQTʣ
    .BDLFSFMαʔόʢຊମʣ
    ᶅઃఆ͞Εͨ؂ࢹϧʔϧͱ
    ϨεϙϯεΛ΋ͱʹ؂ࢹ IUUQXXXIBUFOBOFKQ
    ᶄϨεϙϯεΛऔಘ
    0,
    3FTQPOTF
    CPEZ
    ϨεϙϯελΠϜ
    44-
    ূ໌ॻ
    ༗ޮظݶ

    View full-size slide

  36. 38 / 99
    ৗʹਐԽ͠ଓ͚ΔαʔϏε
    ͓٬༷ʹΞοϓσʔτͷखؒΛ൥ΘͤΔ͜ͱͳ͘
    ຖि৽ػೳͷϦϦʔεΛܧଓதʂ
    ௠෗ԽͤͣৗʹਐԽ͍ͯ͠·͢ʂ
    ि࿈ଓ

    View full-size slide

  37. 39 / 99

    ෯޿͍
    ௨஌࿈ܞ αϙʔτͱ
    5XJMJP ࿈ܞ

    View full-size slide

  38. 40 / 99
    ͨ͘͞Μͷ௨஌αϙʔτ
    • ϝʔϧ௨஌͸σϑΥϧτͰઃఆ
    • αʔυύʔςΟʔͷ࢓૊Έ΁؆୯ʹ௨஌͢Δ͜ͱ͕Ͱ͖·͢

    View full-size slide

  39. 41 / 99
    5XJMJP ࿈ܞΛαϙʔτʂ

    View full-size slide

  40. 42 / 99
    5XJMJP ࿈ܞΠϝʔδ

    View full-size slide

  41. 43 / 99
    • 5XJMJP ͷΞΧ΢ϯτ*%΍
    τʔΫϯΛઃఆ
    • 5XJMJP ͱ࿈ܞͯ͠ͷ௨஌ํ๏
    – 4.4௨஌ͱՍి௨஌
    • Սి௨஌ͷ৔߹ʜ
    – ಡΈ্͛ݴޠ
    – ಡΈ্͛ϝοηʔδ
    – ίʔϧόοΫ63-
    5XJMJP ࿈ܞΠϝʔδ

    View full-size slide

  42. 44 / 99
    5XJMJP ʹΑΔՍి௨஌ɾৄࡉ
    8BSOJOH
    $SJUJDBM
    Սి
    Սి
    8BSOJOH
    $SJUJDBM
    Սి
    ͳ͠
    มߋՄ
    Սి

    View full-size slide

  43. 45 / 99
    5XJMJP ʹΑΔՍి௨஌ɾԠ༻ྫ

    8BSOJOH
    $SJUJDBM
    4.4ૹ৴
    Սి
    4.4
    4.4ૹ৴
    4.4
    ʴ
    • ʮ8BSOJOHͷͱ͖ʹ͸4.4௨஌ͷΈʯʮ$SJUJDBMͷͱ͖
    ʹ͸4.4௨஌ʴՍి௨஌ʯͱ͍ͬͨ͜ͱ΋Մೳ

    View full-size slide

  44. 46 / 99
    5XJMJP ʹΑΔՍి௨஌ɾԠ༻ྫ

    • ௨࿩ऴྃ࣌ʹ͸ίʔϧόοΫ63-ʹ1045ϦΫΤετ͕
    ߦΘΕΔ͜ͱΛར༻ͯ͠ʜ
    Սి
    ి࿩ʹ
    Ԡ౴ʂ
    ίʔϧόοΫ
    ʮ"͞Μ͕ి࿩ʹԠ౴͠·ͨ͠ɻ
    ݱࡏো֐ରԠதͰ͢ʯ

    View full-size slide

  45. 47 / 99
    5XJMJP ʹΑΔՍి௨஌ɾࠓޙͷల๬
    • ࠓޙ͸ΤεΧϨʔγϣϯͳͲͷߴ౓ͳ௨஌ํ๏΋
    – ʮ"͞ΜʹՍి͕ͨ͠Ԡ౴͠ͳ͔ͬͨ৔߹ɺ#͞ΜʹՍిʯ
    • $PNQMFUFEҎ֎ͷ TUBUVT$BMMCBDL&WFOU ΋
    ࢦఆՄೳʹ

    View full-size slide

  46. 48 / 99

    .BDLFSFM Λ
    ͸͡Ί·͠ΐ͏ʂ

    View full-size slide

  47. 49 / 99
    ·ͣ͸ແྉͷτϥΠΞϧͰʂ

    View full-size slide

  48. 50 / 99
    .BDLFSFM)BOET0O4FNJOBSʂ
    http://mackerelio.connpass.com/

    View full-size slide

  49. 51 / 99
    .BDLFSFM6TFS(SPVQʂ
    • http://mackerel-ug.hatenablog.com/
    • https://mackerel-ug-slackin.herokuapp.com/

    View full-size slide

  50. 52 / 99
    υΩϡϝϯτ΋ॆ࣮
    https://mackerel.io/ja/docs/ https://mackerel.io/ja/blog/

    View full-size slide

  51. 53 / 99
    αʔό؅ཧۀ຿ͷޮ཰ԽΛɺ.BDLFSFMͰʂ
    NBDLFSFMJP

    View full-size slide