在运行时远程检测Scala / Java应用程序 [英] Remote Probing of Scala/Java Application in Runtime
问题描述
但是突然之间,我有一种奇怪的感觉,就是已经存在这样的远程测试的通用框架。所以,这里的问题是:有没有任何图书馆已经为Scala / Java提供了这样的功能?我不是在寻找一个完全远程调试的解决方案,而是简单易用的扩展和探索。
可以将鸵鸟嵌入您的应用程序。与标准监控工具不同,它具有轻量级和可读取的数据表示。而且您不仅可以看到系统指标,还可以看到任何可能的计算。
Recently, I felt the need of opening a port in my applications to which you can telnet in, and probe for some stuff, like memory consumption of a particular structure, print the contents of a List, etc... This greatly facilitates probing deployed solutions in runtime.
But suddenly, I had this strange feeling that a generic framework for such remote probing should already exist. So, here's the question: is there any library that already facilitates such features for Scala/Java? I'm not looking for a "full remote debugging" solution, but something minimalistic that allows easy extension and probing.
You can embed ostrich into your application. Unlike standard monitoring tools it has light-weight and readable data representation. And you would see not only system metrics but any you could possibly calculate.
这篇关于在运行时远程检测Scala / Java应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!