Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
app
conf
gradle/wrapper
project
public
scripts
test
LICENSE
Makefile
README.md
build.gradle
build.sbt
gradlew
gradlew.bat

README.md

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

  1. Export Organization Token:

    $ export ROOKOUT_TOKEN=<your-token>
  2. 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

  1. Add Java Agent plugin addSbtPlugin("com.lightbend.sbt" % "sbt-javaagent" % "0.1.4")
  2. Enable the Rookout Java Agent lazy val root = (project in file(".")).enablePlugins(PlayJava, JavaAgent)
  3. Add the Rookout Java Agent to your configuration javaAgents += "com.rookout" % "rook" % "0.1.47" % "dist"

Debug Playframework

  1. And then go to http://localhost:9000 to see the running web application.

  2. Go to app.rookout.com and start debugging !

You can’t perform that action at this time.