Skip to content

Commit

Permalink
Respond to wording improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
obenkenobi committed Apr 1, 2024
1 parent 055b0bb commit 72b5369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Here's an example for gradle:
implementation 'com.newrelic.agent.java:newrelic-api:8.10.0'
```

You can call the API when the Java agent is not running. The API methods are just stubs; the implementation is added when the Java agent loads the class.
You can call the API even without the agent running, but the methods will be a no-op until the agent loads your application.

## Transactions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Then, to update to the latest Java agent version:
4. (Optional) If you are using the any of the agent APIs like our [Java agent API](/docs/apm/agents/java-agent/api-guides/guide-using-java-agent-api/) or a [Scala API](/docs/apm/agents/java-agent/frameworks/scala-installation-java/#using-the-scala-api), we recommend you upgrade your API dependencies to the latest version. The newer agent version will still support the APIs, but you may be missing new features. If you're using a build tool like maven, upgrade the API versions to latest. For example, if you're using the Java Agent API with gradle, replace `${agent.version}` with the latest version:

```groovy
implementation 'com.newrelic.agent.java:newrelic-api:8.10.0'
implementation 'com.newrelic.agent.java:newrelic-api:${agent.version}'
```
5. Restart your Java process.

Expand Down

0 comments on commit 72b5369

Please sign in to comment.