- Download the latest tagged version from
https://github.com/newrelic-platform/newrelic_example_plugin/tags
- Extract to the location you want to run the example agent from
- Copy
config/template_newrelic_plugin.yml
toconfig/newrelic_plugin.yml
- Edit
config/newrelic_plugin.yml
and replace "YOUR_LICENSE_KEY_HERE" with your New Relic license key - Create a plugin in New Relic
- Edit
newrelic_example_agent
and replace "PUT YOUR GUID HERE" with the GUID that was generated when you created the plugin - run
./newrelic_example_agent
You are welcome to send pull requests to us - however, by doing so you agree that you are granting New Relic a non-exclusive, non-revokable, no-cost license to use the code, algorithms, patents, and ideas in that code in our products if we so choose. You also agree the code is provided as-is and you provide no warranties as to its fitness or correctness for any purpose.