Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dhilpipre authored May 14, 2024
1 parent 8124634 commit f4e9138
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ Provides instrumentation for Kotlin Coroutines. In particular it will trace the

Kotlin-Coroutines-1.0 - all 1.0.x versions.
Kotlin-Coroutines-1.1 - all 1.1.x versions.
Kotlin-Coroutines-1.2 - all 1.2.x versions.
Kotlin-Coroutines-1.3 - all 1.3.x versions.
Kotlin-Coroutines-1.2 - all 1.2.x and 1.3.x versions.
Kotlin-Coroutines-1.4 - all 1.4.x and later versions.

## Installation
Expand All @@ -34,6 +33,10 @@ In the New Relic Java Agent directory (directory containing newrelic.jar), creat
Copy the jars into the extensions directory.
Restart the application.

## Verification
The easiest way to see if the instrumentation has been loaded by the Java Agent is to look for the Java Agent UI's Metric Explorer and enter "supportability/weaveinstrumentation/loaded/com.newrelic.instrumentation.labs.kotlin-coroutines". If a metric is reported then the agent has loaded the instrumentation appropriate to the version of Kotlin Coroutines that you are using.
If no metric is displayed, then check for "supportability/weaveinstrumentation/skipped/com.newrelic.instrumentation.labs.kotlin-coroutines". If no metrics are displayed verify that the instrumentation jars have been deployed to the extensions directory and that the user id that runs the application has read access.

## Getting Started

After deployment of the instrumentation jars, you should be able to see the invocation of a coroutine from start to finish across any threads that it executes on.
Expand Down

0 comments on commit f4e9138

Please sign in to comment.