Slide 1

Slide 1 text

.FFUVQ 5IF.BDLFSFM1SPEVDU3PBENBQ 'FC )JSPNJDIJ 4VHJZBNB

Slide 2

Slide 2 text

Hiromichi Sugiyama / ਿࢁ ޿௨ גࣜձࣾ͸ͯͳ αʔϏεɾγεςϜ։ൃຊ෦ .BDLFSFMνʔϜ ϓϩσϡʔαʔ .BDLFSFM1SPEVDU.BOBHFS ܦྺ େن໛؀ڥͰͷΠϯϑϥΤϯδχΞ ΦʔϓϯιʔεͷϞχλϦϯάπʔϧ 4BB4γεςϜ *5*-ϕʔεͷαʔϏεϚωδϝϯτ ͸ͯͳͰ.BDLFSFMࣄۀ΁ܞΘΔ TVHJZBNB!IBUFOBOFKQ

Slide 3

Slide 3 text

1 ֓ཁͱ࠷ۙͷτϐοΫ

Slide 4

Slide 4 text

Mackerelͱ͸ʁ • 4BB4ܕαʔόʔ؂ࢹαʔϏε • ΤϯδχΞ͕ཉ͔ͬͨ͠zϫΫϫΫz͢ΔΑ ͏ͳػೳΛఏڙ͠ɺѹ౗తͳzޮ཰ԽzΛ࣮ݱ • ͸ͯͳͷओྗαʔϏεΛ͑͞͞ଓ͚͖ͯͨ ʢ࠷ߴͷυοάϑʔσΟϯάʣ

Slide 5

Slide 5 text

ΞʔΩςΫνϟʔ • ΤʔδΣϯτ͔Β ϝτϦοΫΛ౤ߘ )5514 3&45"1*

Slide 6

Slide 6 text

௚ײతͳϢʔβʔମݧ

Slide 7

Slide 7 text

؆୯ʹ௚͙͸͡ΊΒΕΔ • ΨΠυʹै͏͚ͩ • ͨͬͨ਺෼ʢϫϯϥΠφʔʣ

Slide 8

Slide 8 text

࠷খͷϧʔϧ͕࠷ߴͷརศੑΛ • ΤʔδΣϯτΛ্ཱͪ͛Δ͚ͩͰ • ࣗಈతʹ؂ࢹ͕࢝·Γ • ಉ͡ϩʔϧͷϗετ͸ಉ͡άϥϑ΁

Slide 9

Slide 9 text

ৗʹਐԽ͠ଓ͚ΔαʔϏε ຖि৽ػೳͷϦϦʔεΛܧଓத ௠෗ԽͤͣৗʹਐԽ ि࿈ଓ ܧ ଓ த

Slide 10

Slide 10 text

બ͹ΕΔཧ༝ • ಋೖʗ6*͕؆୯Ͱ෼͔Γ΍͍͢ • ։ൃεϐʔυʢຖिϦϦʔεʣ • ϚϧνΫϥ΢υͰ࢖͑Δ • ೔ຊޠαϙʔτ͕ॆ࣮ • ૊Έ߹Θͤͯ%FW0QTͷத֩ͱͯ͠׆༻Ͱ͖Δ

Slide 11

Slide 11 text

αʔϏεϓϥϯ 460

Slide 12

Slide 12 text

ελʔτΞοϓࢧԉϓϥϯ։࢝ • 4UBSUVQTͷఏܞελʔτΞοϓࣄۀΛࢧԉ • ظؒݶఆͰ.BDLFSFMͷಛผσΟεΧ΢ϯτఏڙ

Slide 13

Slide 13 text

Cloud ProviderΠϯςάϨʔγϣϯ • Ϋϥ΢υࣄۀऀͷ؂ࢹγεςϜͱͯ͠ɺ.BDLFSFM Λ؆୯ʹ૊ΈࠐΊΔ࿈ܞ༻"1*Λఏڙ ςφϯτ" ςφϯτ# ςφϯτ$ ςφϯτ% ςφϯτ& ςφϯτ' 03(" 03(# 03($ 03(% 03(& 03(' $MPVE1SPWJEFS ج൫γεςϜ ࿈ܞ༻"1*

Slide 14

Slide 14 text

࣌ܥྻσʔλͷ֦ॆʢStandard Planʣ • 1෼ཻ౓ͷอ࣋ظؒ 1೔ → 460೔ • άϥϑදࣔظؒ 400೔ → 460೔ 441ഒʂ

Slide 15

Slide 15 text

2 ࠷ۙϦϦʔεͨ͠ Φεεϝػೳʢ5બʣ

Slide 16

Slide 16 text

1. ΞΫγϣϯػೳʢࣗಈԽࢧԉʣ • $IFDLϓϥάΠϯͷ࣮ߦ݁Ռʹج͖ͮɺ೚ҙͷίϚϯυΛ࣮ߦ • ϓϩηε࠶ىಈͳͲɺ༷ʑͳΦϖϨʔγϣϯࣗಈԽͷଅਐΛࢧԉ MACKEREL_STATUS MACKEREL_PREVIOUS_STATUS OK WARNING CRITICAL OK STATUS Time Line Environment variable Action Example: sudo systemctl restart nginx.service

Slide 17

Slide 17 text

2. ϓϥάΠϯɾϨδετϦ • ެࣜಠࣗ։ൃ1MVHJOΛ(JU)VC͔Β؆୯ʹΠϯετʔϧ • ެࣜͷ1MVHJO3FHJTUSZ΁ొ࿥͞ΕͨϦϙδτϦ͸ϓϥάΠϯ ໊ͷΈͰΠϯετʔϧՄೳ • ϓϥάΠϯ։ൃʢެ։΍ϝϯςφϯεͳͲʣΛɺΑΓॊೈʹ mkr plugin install [@] /[@] ᶃ ᶄ ᶃ mackerelio Plugin Registry ᶄ owner repo Source

Slide 18

Slide 18 text

3. Πϕϯτ௨஌ • 4MBDL΍8FCIPPLͳͲͷ௨஌νϟϯωϧ΁ϗετొ࿥΍ε ςʔλεมߋͳͲͷΠϕϯτ௨஌ʹରԠ • ؂ࢹΞϥʔτ͚ͩͰͳ༷͘ʑͳΠϕϯτΛՄࢹԽ͠΍͘͢

Slide 19

Slide 19 text

4. ΩʔϘʔυγϣʔτΧοτ • 8FC 6*ʢάϥϑૢ࡞ͳͲʣΛΑΓ௚ײతʹར༻Ͱ͖ΔΑ͏ʹ • ʮ ʯͰϔϧϓ͕දࣔ͞Ε·͢

Slide 20

Slide 20 text

5. ެ։άϥϑ • .BDLFSFMΞΧ΢ϯτΛ͍࣋ͬͯͳͯ͘΋ެ։άϥϑͷӾཡ ʢJGSBNFɺը૾ɺ47(ͳͲʣ͕Մೳʹ • JGSBNFͰࣾ಺αΠτ΁ຒΊࠐΊ͹શࣾһ΁άϥϑڞ༗Մೳ Your Internal Web Site

Slide 21

Slide 21 text

3 The Product Roadmap 2018

Slide 22

Slide 22 text

2017೥ϦϦʔεͷৼฦΓ 㾎ϝτϦοΫσʔλʢཻ౓΍ظؒͷ֦ॆʣ 㾎ݎ࿚ͳΞʔΩςΫνϟʔ΁ͷҠߦ 㾎Πϕϯτػೳͷ֦ॆ 㾎ϝλσʔλϓϥάΠϯʢϓϥάΠϯαϙʔτɺϨδετϦʣ 㾎AzureΠϯςάϨʔγϣϯ 㾎ioυϝΠϯ୤ग़ 㾎ΞΫγϣϯػೳ 㾎άϥϑϘʔυ

Slide 23

Slide 23 text

The Product Roadmap 2018 • ਐԽͷ଎͍ΠϯϑϥετϥΫνϟʔ • ͦΕʹ൐͏ސ٬՝୊΍χʔζͷมԽ • ৗʹਐԽ͢ΔαʔϏεͱͯ͠ɺ࠷దղ Λఏڙ͠ଓ͚Δඞཁੑ • Product Roadmap ≒ ࠷৽ͷ։ൃํ਑

Slide 24

Slide 24 text

• Ұఆ࣌ؒ಺ͷΞϥʔτΛϢʔβࢦఆͷ୯ҐͰάϧʔϐϯά • άϧʔϓ୯ҐͰͷΞϥʔτ௨஌ • େྔΞϥʔτ௨஌͔Βͷ։์ʢݟམͱ͠ͷ཈੍ͳͲʣ Ξϥʔτ άϧʔϓ Service Role Role Host Host Host Host Host Host Time Line ❕ ❕ ❕ ❕ 㾎 㾎 㾎 㾎 㾎 ❕ ❕ ❕ ❕ ❕ 㾎 㾎 㾎 㾎 㾎 ❕ ❕ ❕ ❕ ❕ 㾎 㾎 㾎 㾎 㾎 ❕ ❕ 㾎 㾎 ❕ Alert Open Alert Close Alert Group - Org - Service - Role - Host - Monitor Setting ❕ 㾎 ❕ 㾎 ❕ 㾎 ❕ 㾎 ❕ 㾎 ❕ 㾎 ❕ 㾎 ❕ 㾎 #1

Slide 25

Slide 25 text

• Mackerelͷ֓೦ͱͯ͠ίϯςφΛදݱ • ΑΓίϯςφΛ׆༻͠΍͍͢؀ڥΛఏڙ ίϯςφͷਖ਼ࣜαϙʔτ Service Role Host Host Container Container Container Role Role Container Container Host Host Host Containers Hosts #2

Slide 26

Slide 26 text

ΧελϜ μογϡϘʔυ V2 • ΑΓ௚ײతͰ෼͔Γ΍͍͢ɺϞμϯͳΧ ελϜμογϡϘʔυΛఏڙ #3

Slide 27

Slide 27 text

ϞχλϦϯάʹ͓͚Δػցֶशͷ׆༻ • ϞχλϦϯάʹ͓͚Δ՝୊ • ؂ࢹϧʔϧͷϝϯςφϯε͸ॏཁ͕ͩख͕͔͔ؒΔ • ੩తͳᮢ஋ͷ؂ࢹ͚ͩͰ͸ݕग़͕೉͍͠ঢ়گ΋͋Δ • ؂ࢹϧʔϧΛద੾ʹઃఆ͢ΔͨΊʹɺ͋Δఔ౓ͷ஌ࣝʢϛυϧ΢ΣΞͳ Ͳʣ͕ඞཁ • ػցֶशʢҟৗݕ஌ʣͷར఺ • ࣌ܥྻσʔλΛֶश͠ɺࣗಈతʹ؂ࢹϧʔϧΛܾΊͯΞϥʔτ͢Δ • ଟ਺ͷ؂ࢹϧʔϧ͕ɺҟৗݕ஌ͷ؂ࢹϧʔϧͭͰରԠͰ͖Δ͜ͱ΋ • ಛԽͨ͠؂ࢹ஌͕ࣝແͯ͘΋ɺԿ͔͕͓͔͍͠ࣄΛ஌Δ͜ͱ͕ग़དྷΔ #4

Slide 28

Slide 28 text

ϞχλϦϯάʹ͓͚Δػցֶशͷ׆༻ • ׆༻ͷ೉͠͞ • શͯͷέʔεʹ౰ͯ͸·Δzۜͷ஄ؙzͰ͸ͳ͍ • ػցֶशΞϧΰϦζϜͷదੑΛཧղͯ͠ɺݸผʹ౰ͯ͸ΊΔඞ ཁ͕͋Δ • .BDLFSFMͰ͸ʁ • جຊ֓೦ʢ4FSWJDF 3PMF )PTUʣʹ౰ͯ͸Ίͯ؅ཧ͢Δ͜ͱͰɺ ػցֶशʢ·ͣ͸ҟৗݕ஌ʣػೳͷԸܙ͕ಘ΍͍͢ػೳΛఏڙ ͢Δ #4

Slide 29

Slide 29 text

ҟৗݕ஌ʢػցֶशʣ • .BDLFSFMͷػցֶशػೳɺୈҰ஄ͱ͠ ͯϦϦʔε • ؆୯Ͱ࢖͍΍͍͢ख๏Λ࠾༻ • ϩʔϧ಺ͷҟৗϗετΛֶश͠ݕग़ • ෳ਺ϝτϦοΫʢ$16 .FNPSZͳͲʣ ͷ૊Έ߹Θ ֶͤͯश͠ҟৗݕ஌ #4

Slide 30

Slide 30 text

• ҰఆྔͷσʔλΛֶशޙɺִͨΓͷେ͖ͳσʔλΛҟৗ஋ ͱͯ͠ݕ஌ • ໿ͷγεςϜϝτϦοΫΛ૊Έ߹Θͤ༧ఆʢ࣍ݩʣ • Լਤ͸෼͔Γ΍࣍͘͢ݩͰهࡌ ࠞ߹Ψ΢ε෼෍Λར༻ͨ͠ҟৗݕ஌ ฏ೔Λத৺ͱͨ͠ൺֱ తෛՙͷߴ͍έʔε ٳ೔΍໷ؒ౳ൺֱత ෛՙͷ௿͍έʔε ҟৗ൑ఆ͞ΕΔ έʔε #4

Slide 31

Slide 31 text

OSS Monitoring Affinityͷ֦ॆ Check-Plugin Format Metrics-Plugin Format What’s Next ? #5

Slide 32

Slide 32 text

Prometheus Affinity Prometheus Check-Plugin Format Metrics-Plugin Format Next! #5

Slide 33

Slide 33 text

• Exporter΍Discovery׆༻ʹΑΓɺ؍ଌൣғΛେ͖֦͘େʢ஫1ʣ • ඪ४Խ΁޲͔͏Exportion Formatsʢ஫2ʣ ͸ɺKubernetes΍ FreeBSDͳͲͰͷαϙʔτ͕ਐΜͰ͍Δ Prometheus Affinityͷར఺ʢҰྫʣ • ଟ࣍ݩσʔλϞσϧʢ஫3ʣ • ࣌ܥྻσʔλ΁೚ҙͷϥϕϧ ʢKey-ValueʣΛ෇༩͠ɺ༷ʑͳ੾ ΓޱͰॊೈͳ෼ੳΛ࣮ݱ Time URL Method HTTP Response Time ஫1 https://prometheus.io/docs/instrumenting/exporters/ ஫2 https://prometheus.io/docs/instrumenting/exposition_formats/ ஫3 https://prometheus.io/docs/concepts/data_model/ #5

Slide 34

Slide 34 text

• DiscoveryͰऔಘͨ͠৘ใΛݩʹmackerel-agent͕ ExporterΛScraping͠ɺऔಘͨ࣌͠ܥྻσʔλΛ Mackerel΁ू໿ Prometheus Affinity Exporter Exporter Exporter Exporter Discovery Scraping Exporter Exporter Exporter Exporter mackerel-agent Discovery Scraping #5

Slide 35

Slide 35 text

4 Ϗδϣϯ

Slide 36

Slide 36 text

MackerelͷϏδϣϯ ΤϯδχΞΛϫΫϫΫͤ͞Δ ʮ௚ײతαʔόʔ؂ࢹαʔϏεʯ

Slide 37

Slide 37 text

DevOpsͷத֩ͱͯ͠ • ϥΠϑαΠΫϧશମͷޮ཰ԽΛଅਐ %FW 0QT

Slide 38

Slide 38 text

͍͞͝ʹ

Slide 39

Slide 39 text

We are Hiring • .BDLFSFM$3&ʢ$VTUPNFS3FMJBCJMJUZ&OHJOFFSʣ • ΞϓϦέʔγϣϯΤϯδχΞ • 8FCΦϖϨʔγϣϯΤϯδχΞ

Slide 40

Slide 40 text

mackerel.io