Skip to content

Instantly share code, notes, and snippets.

@johntbush
Created March 4, 2015 06:40
Show Gist options
  • Save johntbush/8495d46b7eb6c3152f08 to your computer and use it in GitHub Desktop.
Save johntbush/8495d46b7eb6c3152f08 to your computer and use it in GitHub Desktop.
hot threads
import org.elasticsearch.monitor.jvm.HotThreads
import play.api.mvc._
object HotThreadsController extends BaseController {
def getHotThreads = Action {
Ok(new HotThreads().detect())
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment