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

Mackerel's first year and onward (in English)

Shinji Tanaka
September 17, 2015

Mackerel's first year and onward (in English)

Mackerel Meetup #5
17 Sep 2015

Shinji Tanaka

September 17, 2015
Tweet

More Decks by Shinji Tanaka

Other Decks in Technology

Transcript

  1. Mackerel’s First Year
    and Onward
    Mackerel Meetup #5
    17 Sep 2015
    Hatena Co., Ltd.
    @stanaka

    View Slide

  2. 1
    Mackerel,
    Year One

    View Slide

  3. Mackerel’s First Birthday!
    • Server Management tool as a
    Service
    • 2014.5 beta, 2014.9.17 release

    View Slide

  4. Architecture
    1PTUNFUSJDT
    )5513&45"1*
    /PUJpDBUJPOT
    .BOBHFNFOU$POTPMF
    "1*3FRVFTUT

    View Slide

  5. Weekly Releases (52 consecutive weeks!)

    View Slide

  6. 4,300+
    .BDLFSFMPSHBOJ[BUJPOT

    View Slide

  7. 10,000+
    BDUJWFBHFOUT

    View Slide

  8. Mackerel Users
    https://mackerel.io/customers

    View Slide

  9. Why People are Choosing Mackerel
    • Simple and clear UI, easy installation
    • Speed of development (weekly
    releases for 52 consecutive weeks)
    • Works with multi-cloud
    • Comprehensive customer support

    View Slide

  10. 2
    5 of Mackerel’s
    Best Features

    View Slide

  11. 1. Handling for Autoscale
    • Graphs stay put, even when servers scale down
    *ODSFBTJOH %FDSFBTJOH

    View Slide

  12. 2. Graphs in Notifications
    • Support for Slack, HipChat, & TypeTalk

    View Slide

  13. 3. External URL Monitoring
    • Monitor URLs
    • Visualize external response time
    • Alerts for status codes and response time
    8FC
    4FSWJDF
    63-

    View Slide

  14. View Slide

  15. 4. “Codification” of Monitoring Rules
    • “Infrastructure as Code”
    • mkr monitor diff/pull/push
    • Manage monitoring rules in JSON

    View Slide

  16. mkr monitors
    • pull .. get monitoring rules and save locally
    • diff .. diff against locally saved rules
    • push .. config to locally saved rules

    View Slide

  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":  [  
           ],  
       },

    View Slide

  18. Managing Monitoring Rules with GitHub
    .BDLFSFM
    6TFS
    HJUIVC $JSDMF$*
    mkr  pull/push
    git  pull/push
    mkr  diff

    View Slide

  19. Cooperation with CircleCI
    https://circleci.com/gh/stanaka/mackerel-­‐monitors

    View Slide

  20. 5. Monitoring Docker
    • mackerel-plugin-docker

    View Slide

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

    View Slide

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

    View Slide

  23. 3
    Pricing

    View Slide

  24. Pricing
    1MBO5ZQF 'SFF 4UBOEBSE
    $PTU 'SFF
    =IPTU
    NPOUI
    /VNCFSPG
    )PTUT
    VQUP
    DBMDVMBUFEBTB
    SPMMJOHBWFSBHF
    %BUB
    3FUFOUJPO
    IPVST ZFBS
    /VNCFSPG
    .POJUPST

    8FIBWFBGSFFUSJBMPGUIF4UBOEBSE1MBO

    View Slide

  25. Payment Deferral (new!)
    • Only pay for the amount used
    • Number of hosts calculated by
    rolling average

    View Slide

  26. 4
    Our Vision
    for Mackerel

    View Slide

  27. “Cloudization” of Dev Tools
    • Moving dev tools to the cloud
    • svn/git → GitHub (GitHub Enterprise)
    • Jenkins → TravisCI, CircleCI
    • Execution environment also, to the cloud
    • on-prem → AWS/GCE/IaaS

    View Slide

  28. Trends Moving Towards Mackerel
    • Operation tools moving to the cloud too
    • Zabbix, Nagios

    → Cloudwatch, NewRelic and

    Mackerel!!
    • More stable operation with a simple and
    clear UI

    View Slide

  29. Infrastructure as Code
    • Codify host config (Chef/puppet)
    • Manage Mackerel settings in code too
    • Codify monitoring rules, dashboards
    • Driving API-fication one step at a time

    View Slide

  30. The Future of Mackerel
    • Not an all-in-one service
    • coop with multiple tools and services
    • Slack / Github / Reactio
    • Mackerel as a core tool of system
    management

    View Slide

  31. Mackerel’s Vision
    "OJOUVJUJWFTFSWFSNPOJUPSJOH
    TFSWJDFFOHJOFFSTDBOSFKPJDFBCPVU

    View Slide

  32. mackerel.io

    View Slide