Docs » Collect application spans and traces » Instrument a Node.js application

Instrument a Node.js application 🔗

The SignalFx Tracing Library automatically instruments your Node.js application to capture and report distributed traces to SignalFx with an OpenTracing-compatible tracer. The tracer has constant sampling (that is, 100% chance of tracing) and reports every span. Where applicable, context propagation uses B3 headers. The library supports Node.js versions 4.7+, 6.9+, and 8+.

For all available configuration options and their default values, see the README file.

Start the integration 🔗

To start a Node.js integration, follow these steps:

  1. In the Observability Cloud main menu, select Data Setup.

  2. In the CATEGORIES menu, select APM Instrumentation.

  3. Click Node Tracing.

  4. Click Add Connection. The integration wizard appears.

  5. Follow the steps in the wizard.

  6. At the end of the wizard, go to APM to see a live view of your data flowing into the application.

Lambda wrappers 🔗

You can also instrument AWS Lambda functions with Node.js using SignalFx Lambda wrappers or instrumentation libraries. See SignalFx Node.js Lambda Wrapper for more information.