Skip to content

Latest commit

 

History

History

mock-infinite-tracing-server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Mock Infinite Tracing gRPC Server

This is a gRPC server used to test our infinite tracing with the Node.js agent.

Setup

To setup gRPC, run

npm install
node index.js

Test

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.