Live data from Hacker News

Ask HN: Kibana, Grafana, Chatbots, SMS – How do you keep an eye on your product?

news.ycombinator.com

1–10 of 14 posts

Ask HN: Kibana, Grafana, Chatbots, SMS – How do you keep an eye on your product?

#1
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?

Re: Ask HN: Kibana, Grafana, Chatbots, SMS – How do you keep an eye on your product?

#2
I've gotten really into Slack recently.

I 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.

Re: Ask HN: Kibana, Grafana, Chatbots, SMS – How do you keep an eye on your product?

#3
post #2

I've gotten really into Slack recently. I 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'…

I use slack for a lot of notifications too. We strapped a python chatbot on as an integration and gave the bot access to our product which made asking the bot what's happening really easy.

Chatops are catching on, and I'm intrigued. Thanks for the response!

Re: Ask HN: Kibana, Grafana, Chatbots, SMS – How do you keep an eye on your product?

#6
post #2

I've gotten really into Slack recently. I 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'…

I use slack for a lot of notifications too. We strapped a python chatbot on as an integration and gave the bot access to our product which made asking the bot what's happening really easy. Chatops are catching on, and I'm intrigued. Thanks for the response!

Hey, feel free to checkout my library on GitHub. Its goal is to simplify interacting with Slack API (which is amazing IMO) and let users focus on simply writing their bot.

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

Re: Ask HN: Kibana, Grafana, Chatbots, SMS – How do you keep an eye on your product?

#8
For log aggregation I use Elasticsearch + Logstash + Kibana. For statistics I use Influxdb + Telegraf + Grafana. For service alerts I use Consul + Consul Alerts. Notifications get sent to Pager Duty and/or Slack from one of Kibana, Grafana, or Consul.

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.

Re: Ask HN: Kibana, Grafana, Chatbots, SMS – How do you keep an eye on your product?

#9
post #5

If you're a lone developer (or a small team of developers) isn't a lot better to use something like CloudWatch instead of messing with ELK?

For small apps I would use Monit to watch the server processes combined with CloudWatch to watch the servers themselves.

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.

Re: Ask HN: Kibana, Grafana, Chatbots, SMS – How do you keep an eye on your product?

#10
post #8

For log aggregation I use Elasticsearch + Logstash + Kibana. For statistics I use Influxdb + Telegraf + Grafana. For service alerts I use Consul + Consul Alerts. Notifications get sent to Pager Duty and/or Slack from one of Kibana, Grafana, or Consul. 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'…

I've been meaning to use grafana for more than homelab server monitoring.

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!

Post reply on HN