Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一些 Web 框架具有一些用于跟踪请求统计信息、使用情况等的内置功能(例如,一些 Java 应用程序服务器具有 JMX 控制台)。有没有这样的东西融入 Play!2 框架?(通过 URL 或其他方式?)
在 Play 1.x 中,您可以执行以下操作。
当运行您的应用程序时,您可以使用play start而不是play run使用play status来获取有关您的应用程序的大量统计信息。
play start
play run
play status
还有一个名为的模块,infoplay但我认为这已经有一段时间没有维护了,所以我不确定这会给你多少数据。不过可能值得一看。
infoplay
我不知道目前 Play 2.0 中存在的模块,但我希望很快就会出现。