ZooKeeper Monitoring Guide
How do I monitor ZooKeeper?
We can use platform integrations, self hosted options or third party providers. Platform integrated solutions make devops really simple, but might not have all the detail you would like. Self hosted solutions can be highly customizable but require complex setup and ongoing maintenance. Third party solutions can be great if you find the right partner. Let's dive into some specifics.
Platform Monitoring Solutions
Platforms have some great built-in monitoring and alerting tools. Consider plugging ZooKeeper into your platform’s tooling. It will save you a lot of time reinventing the wheel. A platform solution will save you from hunting in different places for your monitors.
Build Your Own Monitoring (self hosted)
Build your own monitoring is a good solution for companies who want high customization and control and don’t mind the operational overhead. Self hosted monitoring tools for ZooKeeper offer a wide selection of metric databases and graphing libraries. You can piece together your favorites and have a great system. You also have full control over upgrades and changes to your monitoring system. No more worrying about a 3rd party making unexpected changes. But, this comes at a cost.
Self hosted monitoring does require some operation overhead. You need to maintain the servers and monitoring software that monitor your ZooKeeper cluster. Your team will need to be on call to fix operational issues if they arise. If operations is something your company excels at, this may be the solution for you. If you don’t have an operations team, or tend to outsource most of your solutions, this may not be the best solution for you.
3rd Party Monitoring Solutions
Third party providers have some great tools without the devops overhead. You get a highly specialized tool and 24/7 support with very little setup work. If you aren’t sure which solution is right for you, this is probably the one for you.