简体   繁体   中英

Monitoring deployed java application usage

Writing a large GUI based application in Java and was wondering if there were any frameworks for monitoring an application once deployed to many end users. Sort of like when Eclipse periodically send your usage information etc. Apple does this sort of thing on iOS also I think.

I want to be able to know

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

If you want to keep it simple you can use a logging framework. Logback is a SL4J implementation that can send your logs using SMTP (password can be read by users!).

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.

It can also use Loggly .

It should be a good start. Gathering meaningful CPU and memory usage info in Java is not trivial. SLF4J can help you out a little bit with few classes for poor people : )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM