java - 监控已部署的java应用程序的使用情况

标签 java deployment monitoring

用 Java 编写一个基于 GUI 的大型应用程序,想知道是否有任何框架可以在部署到许多最终用户后监视应用程序。有点像 Eclipse 定期发送您的使用信息等。我认为 Apple 在 iOS 上也做了这种事情。

我想知道

1. which features and resources of the application are being used the most 
2. crash reports 
3. cpu and memory usage

最佳答案

如果您想保持简单,您可以使用日志框架。 Logback是一个 SL4J 实现,可以使用 SMTP 发送日志(用户可以读取密码!)。

he SMTPAppender accumulates logging events in one or more fixed-size buffers and sends the contents of the appropriate buffer in an email after a user-specified event occurs. SMTP email transmission (sending) is performed asynchronously.

也可以使用Loggly .

这应该是一个好的开始。 在 Java 中收集有意义的 CPU 和内存使用信息并非易事。 SLF4J 可以帮助你一点 few classes for poor people : )

关于java - 监控已部署的java应用程序的使用情况,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10702960/

相关文章:

java - Java中计算一个ArrayList中有多少个ArrayList

r - 使用 docker 多阶段构建进行 R 开发和部署设置

php - (php/mysql)部署到共享主机的最佳实践?

asp.net - 如何使用SVN部署ASP.NET网站?

linux - 在 Linux 服务器中为 Nimbus 设置警报

java - J2ME WTK 模拟器的 Png 图像支持

java - 签名中的空格是什么意思?

java - 使用 CMIS 创建两个文件 (Alfresco CE 4.2.c) 之间的关系

linux - Zabbix代理无法检测正在运行的进程的PID

kubernetes - 控制平面指标的文档/代码库