Reputation: 19468
Some web frameworks have some built in features for tracking request stats, usage etc (some java app servers have a JMX console - for example). Is there anything like this baked into Play! 2 framework? (either via a URL or otherwise?)
Upvotes: 1
Views: 486
Reputation: 54884
In Play 1.x, you can do the following.
When running your application using play start
rather than play run
you can then use play status
to get a whole host of stats about your application.
there is also a module called infoplay
but I don't think this has been maintained for a while, so I am not sure how much data this gives you. It may be worth a look though.
I am not aware of a module that currently exists in Play 2.0 at present, but I would expect that one will appear shortly.
Upvotes: 1