Switch branches/tags
Nothing to show
Find file History
Pull request Compare This branch is 470 commits ahead of tgrabiec:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
GET
Makefile
README
module.py
usr.manifest

README

## NewRelic Java client
Here is how to add a newrelic agent to your Java application
[tomcat is used as an example]

build an image, adding java-newrelic to the image:
```
make image=tomcat,java-newrelic
```

go back to /app/java-newrelic, and update newrelic.yml
In particular you MUST update: 
* the following line using your newrelic licence

*license_key: '<%= license_key %>'*
* and the following line with your application name 

*app_name: My Application*

build again
```
make image=tomcat,java-newrelic
```

and run you app locally
```
sudo ./scripts/run.py -n
```
or upload it to the cloud.
You should see your application metric one you log into your newrelic account.