<p>I am setting up a webapp in Go that will run behind Nginx. I will have the Nginx logs that I can monitor in Elasticsearch but don't want to have to be glued to them 24x7. How do people here get alerts when traffic spikes, when errors increase, etc? I'd rather have something open source/free but if there's something that isn't gonna break the bank and is good then I'll give it a go.</p>
<p>I've also thought about setting up a function in Go to email me when an error happens but that wouldn't catch Nginx errors, traffic spikes, etc.</p>
<p>thx!</p>
<hr/>**评论:**<br/><br/>consigntooblivion: <pre><p>Check out <a href="https://prometheus.io/" rel="nofollow">prometheus.io</a>.</p></pre>habeyer: <pre><p>I love papertrail. Use it to grab all logs and then you can customize alerts. I use slack to get them.</p></pre>cjbprime: <pre><p>If you already have the logs in ES, I'd use an alerting package for ES, like Watcher.</p>
<p>You might also check out Logstash/Kibana.</p>
<p>Another option: Riemann.</p></pre>lobster_johnson: <pre><p>Prometheus.</p></pre>Qasaur: <pre><p>AWS CloudWatch is pretty good.</p></pre>tex0: <pre><p>If you're working with Go Prometheus is a natural fit. Takes some time to grasp the concepts if your new to the domain but it's really worth it.</p></pre>barsonme: <pre><p>We use <a href="https://getsentry.com" rel="nofollow">https://getsentry.com</a> at work and like it. </p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传