Created
March 4, 2015 06:40
-
-
Save johntbush/8495d46b7eb6c3152f08 to your computer and use it in GitHub Desktop.
hot threads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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