Skip to content

Commit

Permalink
format codeblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
brnhensley authored Feb 22, 2025
1 parent bffe156 commit f9fa2a0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ After sending a request to your web application, data should appear in the APM U

Linux or macOS:

```
```sh
ps -ef | grep java
```

Windows:

```
```sh
wmic process where "name='java.exe'" get ProcessID, Commandline /format:list
```
3. Find the process for the service you're trying to monitor and see if the `-javaagent` argument is present:
Expand All @@ -50,7 +50,7 @@ After sending a request to your web application, data should appear in the APM U
6. Check the application server logs for errors related to the New Relic Java agent. You can see the troubleshooting pages [Error bootstrapping Java agent](/docs/agents/java-agent/troubleshooting/error-bootstrapping-new-relic-java-agent) and [Errors starting Java app server](/docs/agents/java-agent/troubleshooting/errors-starting-java-app-server) for examples of observable errors in application server logs that prevent the java agent data from reporting.
7. Verify that your app is reporting to the expected name: In your New Relic log files, search for `"reporting to"`, then select the link in the message. For example:

```
```json
{"message":"Reporting to: https://rpm.newrelic.com/accounts/000/applications/000000"}
```

Expand Down

0 comments on commit f9fa2a0

Please sign in to comment.