This is a gRPC server used to test our infinite tracing with the Node.js agent.
To setup gRPC, run
npm install
node index.js
Once the gPRC server is started, you can use it in an example application and set the following in newrelic.js
exports.config = {
license_key: <your-license-key>,
infinite_tracing: {
trace_observer: {
host: 'localhost:50051
}
}
}
As you use the application the mock gPRC server will log to console the number of spans seen.