Mackerel's first year and onward

A76985bd77fecba82109dee506b1fec2?s=47 Shinji Tanaka
September 17, 2015

Mackerel's first year and onward

Mackerel Meetup #5
17 Sep 2015

A76985bd77fecba82109dee506b1fec2?s=128

Shinji Tanaka

September 17, 2015
Tweet

Transcript

  1. Mackerelͷ ࠷ॳͷ1೥ͱࠓޙ Mackerel Meetup #5 17 Sep 2015 Hatena Co.,

    Ltd. @stanaka
  2. 1 Mackerelͷ1೥

  3. Mackerel 1प೥!! • αʔό؅ཧπʔϧ as a Service • 2014.5 ϕʔλɺ2014.9.17

    ϦϦʔε
  4. ΞʔΩςΫνϟ

  5. ຖिϦϦʔεܧଓ(52ि࿈ଓ!)

  6. 4,300+ ΦʔΨχθʔγϣϯ਺

  7. 10,000+ ΞΫςΟϒΤʔδΣϯτ਺

  8. Ϣʔβʔࣄྫ https://mackerel.io/customers

  9. બ͹ΕΔཧ༝ • ಋೖɾUI͕؆୯Ͱ෼͔Γ΍͍͢ • ։ൃεϐʔυ (52ि࿈ଓϦϦʔε) • ϚϧνΫϥ΢υͰ࢖͑Δ • ೔ຊޠαϙʔτ͕ॆ࣮

  10. 2 Mackerelͷ ͓קΊػೳ (5બ)

  11. 1. ΦʔτεέʔϧରԠ • αʔό͕ॖୀͯ͠΋άϥϑ͸࢒Δ

  12. 2. Ξϥʔτ௨஌ʹάϥϑ • Slack, HipChat, TypeTalkʹରԠ

  13. 3. URL֎ܗ؂ࢹ • URLʹର͢Δ؂ࢹ • ֎෦͔ΒͷϨεϙϯελΠϜΛՄࢹԽ • εςʔλείʔυɾϨεϙϯελΠϜͰΞϥʔτ 8FC 4FSWJDF

    63-
  14. None
  15. 4. ؂ࢹϧʔϧͷίʔυԽ • “Infrastructure as Code” • mkr monitor diff/pull/push

    • JSONܗࣜͰϧʔϧΛѻ͏
  16. mkr monitors • pull .. ϧʔϧΛऔಘɾखݩʹอଘ • diff .. खݩͱͷࠩ෼Λදࣔ

    • push .. खݩͷϧʔϧΛઃఆ
  17. mkr monitors diff #  mkr  monitors  diff   Summary:  1

     modify,  0  append,  0  remove      {        "name":  "loadavg",        "type":  "host",        "metric":  "loadavg5",        "operator":  ">",        "warning":  2.000000,   -­‐    "critical":  4.000000,   +    "critical":  5.000000,        "duration":  5,        "url":  "",          "scopes":  [              "stanaka:  client",          ],          "excludeScopes":  [          ],      },
  18. ؂ࢹϧʔϧΛGitͰ؅ཧ .BDLFSFM 6TFS HJUIVC $JSDMF$* mkr  pull/push git  pull/push mkr

     diff
  19. CircleCI࿈ܞ https://circleci.com/gh/stanaka/mackerel-­‐monitors

  20. 5. DockerΛϞχλϦϯά • mackerel-plugin-docker

  21. mackerel/mackerel-agent on Docker Hub https://hub.docker.com/r/mackerel/mackerel-­‐agent/

  22. Docker Image: mackerel-agent )PTU qVFOUE NBDLFSFM BHFOU "QQ https://hub.docker.com/r/mackerel/mackerel-­‐agent/

  23. 3 Ձ֨

  24. Ձ֨ 'SFF 4UBOEBSE Ձ֨ ແྉ ԁ
 ୆ɾ݄ ୆਺ ୆·Ͱ ҠಈฏۉͰ


    ࣮੷Λܭࢉ σʔλ
 อ࣋ظؒ ࣌ؒ ೥ ؂ࢹ߲໨਺   4UBOEBSEແྉτϥΠΞϧ͋Γ·͢
  25. ޙ෷͍ܾࡁ (new!!) • ࢖ͬͨ෼͚ܾͩࡁ • ҠಈฏۉʹΑΔϗετ਺ܭࢉ

  26. 4 MackerelͷϏδϣϯ

  27. ։ൃπʔϧͷΫϥ΢υԽ • ։ൃπʔϧ͸Ϋϥ΢υ΁ • svn/git → GitHub (GitHub Enterprise) •

    Jenkins → TravisCI, CircleCI • ࣮ߦ؀ڥ΋Ϋϥ΢υ΁ • ΦϯϓϨ → AWS/GCE/IaaS
  28. Mackerel΁ͷྲྀΕ • ӡ༻πʔϧ΋Ϋϥ΢υ΁ • Zabbix, Nagios
 → Cloudwatch, NewRelic and


    Mackerel!! • ࢖͍қ͍UIʹΑΔɺΑΓ҆ఆͨ͠ӡ༻Λ
  29. Infrastructure as Code • ϗετઃఆΛίʔυԽ (Chef/puppet) • Mackerelͷઃఆ΋CodeͰ؅ཧ • ؂ࢹϧʔϧ/μογϡϘʔυͷίʔυԽ

    • ॱ࣍ɺAPIԽΛਪਐ
  30. Mackerelͷະདྷ • All-in-OneαʔϏεͰ͸ͳ͍ • ֤छπʔϧ/αʔϏεͱͷ࿈ܞ • Slack / Github /

    Reactio • γεςϜ؅ཧͷίΞπʔϧͱͯ͠ͷ Mackerel
  31. MackerelͷϏδϣϯ ΤϯδχΞΛϫΫϫΫͤ͞Δ ʮ௚ײతαʔόʔ؂ࢹαʔϏεʯ

  32. mackerel.io