Rookout and play-java-starter-example
This is a starter application that shows how Play works with Rookout.
Before following this guide we recommend reading the basic [Java + Rookout] guide
Running with Rookout
Export Organization Token:
$ export ROOKOUT_TOKEN=<your-token>
Run the following command:
$ make build prod
Rookout Integration explained
This example makes sure to set up Rookout`s SDK as Java Agent for Play Framework
- Add Java Agent plugin
addSbtPlugin("com.lightbend.sbt" % "sbt-javaagent" % "0.1.4")
- Enable the Rookout Java Agent
lazy val root = (project in file(".")).enablePlugins(PlayJava, JavaAgent)
- Add the Rookout Java Agent to your configuration
javaAgents += "com.rookout" % "rook" % "0.1.47" % "dist"