Ask HN: Kibana, Grafana, Chatbots, SMS – How do you keep an eye on your product?
I've been playing with ELK (Elasticsearch, Logstash, Kibana) stacks for the past couple months and that has given me great insights into what my product is doing in a clustered state in real time. That coupled with a few monitoring scripts and I've finally gotten past feeling helpless. I have a few people saying I should check out Grafana, and I've seen several paid services in this areas too (logentries for example).
I also use chatbots to notify me when things are going wrong, or say when a customer signs up.
How do you keep track of your products, keep monitoring costs low, and know what's going on?
13 comments
[ 4.0 ms ] story [ 45.1 ms ] threadI just log everything ye old fashioned way (text files) and then post anything important/noteworthy to a couple of Slack channels.
It's really easy to build custom integrations and Slack is running on all of our devices so as long as we are all subscribed to the relevant channels I can target @channel in my integration and we know straight away if something bad is happening.
I've use the ELK stack on previous projects, it works really well and isn't that difficult to use (there are some great guides on Digital Ocean) and when I get the time I'm going to set it all up for my current project too.
The only thing is you have to host it somewhere, and it's more justifying the budget for that.
Chatops are catching on, and I'm intrigued. Thanks for the response!
Its still very much in development, but figured this thread was relevant enough for me to post a link.
https://github.com/GregHilston/Simple-Slack-Bot
Thanks for the link!
Its a sweet simple library to make slack bots real simple!
Thanks for the suggestion!
I would investigate the TICK stack (influxdb) before ELK. TICK is great for metrics that are not stored in log files. tail + awk should be enough for managing log files if you only have a few servers.
Thanks for the suggestion!
The Grafana graphs are especially fun to watch and Kibana has a nice logentries-esque plugin for searching and tailing logs.
It's quite the system to setup but once it's running everything else (i.e. the rest of your app) is much more manageable.
I've always found it so satisfying to sit back after setting up these types of systems and to watch everything churn out metrics / logs. I'll check out the kibana plugin, I'm using that in production at the moment.
Thanks for the reply!