git.colasdn.top/newrelic/go-agent@v3.26.0+incompatible/_integrations/nrmicro/example/README.md (about) 1 # Example Go Micro apps 2 In this directory you will find several example Go Micro apps that are instrumented using the New Relic agent. All of the apps assume that your New Relic license key is available as an environment variable named `NEW_RELIC_LICENSE_KEY` 3 4 They can be run the standard way: 5 * The sample Pub/Sub app: `go run pubsub/main.go` instruments both a publish and a subscribe method 6 * The sample Server app: `go run server/server.go` instruments a handler method 7 * The sample Client app: `go run client/client.go` instruments the client. 8 * Note that in order for this to function, the server app must also be running. 9