Java异常监控
如果存在这样的软件,这更是一个问题: 现在我们的应用程序中的问题是,如果有一个gack,我们会将其邮寄出去。如果出现非常严重的问题,导致我们整夜收到垃圾邮件或其他什么情况,这种情况很快就会变得很糟糕。
是否有一个工具可以将这些错误填充到某种数据库中,我们可以(通过不同的组件)对其进行查询,并为每个组件抛出的所有异常构建一个漂亮的小监控站点?
我一直在四处搜索,但没有发现任何此类内容,现在我正在研究日志文件监控,因为似乎有很多现有的工具。
谢谢
This is more of a question if such a piece of software exists:
The problem right now in our applications is if there is a gack we mail it out. This quickly turns bad if there is a really bad problem that just spams our email over night or something.
Is there a tool that maybe populates these errors in some sort of database that we can query against (by different components) and build a nice little monitoring site of all the exceptions that get thrown by each component?
I've been searching around and found nothing of the sort, right now I'm looking into just log file monitoring since there seem to be a bunch of tools around that existing.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我更喜欢 errbit。它是airbrake 的开源替代品。它来自 Rails 世界,但使用 log4j Appender 您可以轻松地将其连接到 Java 世界。它对错误案例进行集群,支持环境信息,支持各种错误跟踪器并发送电子邮件。
I would prefer errbit. It is the open source alternative to airbrake. It comes from the rails world, but with a log4j appender you can easily connect it to a java world. It clusters error cases, support environment informations, supports various error tracker and send emails.
查看 Ctrlflow 自动错误报告。它针对 Java 进行了优化,并附带多个日志记录集成,这些集成会发送错误向中央服务器报告。
如果您正在 Eclipse 中进行开发,您可能已经看到过它的实际应用,因为 Eclipse 使用此服务来报告和跟踪其错误。
然后,服务器会自动过滤并聚合传入的错误报告。如果您多次收到相同的错误,服务器会检测到该错误并将所有错误报告分组为一个问题,因此您不必检查每个单独的报告。然后将这些问题分配给正确的组件或项目。
服务器与您的错误跟踪器同步,并可以自动打开新的错误。它还提供定期发送给开发人员的仪表板和摘要邮件。
对于小型项目来说它是免费的。
请注意,我是其开发人员之一。
Have a look at Ctrlflow Automated Error Reporting. It is optimized for Java and comes with several logging integrations, which send error reports home to a central server.
If you are developing in Eclipse you may already have seen it in action, as Eclipse uses this service to report and track its errors.
The server then automatically filters and aggregates the incoming error reports. If you get the same error multiple times, the server detects that and groups all error reports into a single problem, so you don't have to checkout each individual report. These problems are then assigned to their correct component or project.
The server synchronizes itself with your bug tracker and can automatically open new bugs. It also offers dashboards and digest mails sent at regular intervals to your developers.
And its free for small projects.
Note that I am one of its developers.
您还可以发现这个工具 JSnapshot 对于实时监控 Java 应用程序中的异常非常有用。
JSnapshot 是一个高级的 java 异常记录、监控和分析工具。它实时跟踪抛出的异常,并记录每个抛出的异常的调用堆栈、变量和对象的快照。使用此工具,您可以检查所有异常详细信息,就像异常发生时应用程序在调试器中的断点处停止一样。
并且它与 Eclipse IDE 集成。
You can also find this tool JSnapshot useful to monitor exceptions in Java application in real time.
JSnapshot is an advanced java exception logging, monitoring and analysis tool. It traces thrown exceptions in real-time and logs a snapshot of call stack, variables and objects for every thrown exception. With this tool, you can examine all of the exception details as if the application was stopped at the breakpoint in the debugger when exception happened.
And it's integrated with Eclipse IDE.
如果您使用 log4j 进行日志记录,它可以选择将所需信息记录到不同的目的地,包括数据库表。
Log4j 还有一个名为 chainaw 的组件,它可以帮助您进行监控。您可能需要探索这两个以帮助满足您的要求。
-RR
If you are using log4j for logging, it has an option for logging required information to different destinations, including database tables.
Log4j also has a component called chainsaw, which could help you with the monitoring aspect. You may need to explore these two to help fit into your requirement.
-RR
我想您很想知道有一个团队能够以最美丽的方式解决同样的问题。
https://www.takipi.com/
工作原理
Takipi 支持所有基于 JVM 的语言,并且不支持需要更改代码或构建配置才能使用。
来自:https://www.takipi.com/how-it-works
I think you would love to know that there is a team out to solve just the same problem in the most beautiful fashion.
https://www.takipi.com/
How it works
Takipi supports all JVM-based languages, and does not require code changes or build configurations to use.
From : https://www.takipi.com/how-it-works