In this example app you can find several different ways of instrumenting NATS Streaming functions using New Relic. In order to run the app, make sure the following assumptions are correct:
Your New Relic license key is available as an environment variable named NEW_RELIC_LICENSE_KEY
A NATS Streaming Server is running with the cluster id test-cluster