Demo app for Kotlin co-routines instrumentation
This is a demo app for Kotlin Coroutines Instrumentation.
Usage
- Clone the repo to your machine
git clone https://github.com/danifitz/kotlin-coroutines-demo.git
- Download the New Relic Java agent
- Unzip the Java agent to a location on your machine
- Download the Kotlin Coroutines instrumentation .jar file and add it to the agent extensions directory
- Edit
build.gradle
and configuregretty.jvmArgs
to point to newrelic.jar in the location where you downloaded the agent. - Configure
newrelic.yml
in the agent directory with your appName and licenseKey - Run the kotlin demo app
./gradlew appRun
- In a new terminal window, run some tests against the app
./test.sh
- you might need to make this executable first by runningchmod +x test.sh
- Open New Relic and take a look at the demo app reporting transactions and breakdowns.