This repo holds the source code for the OpenTelemetry-based SolarWinds APM Node.js library and its dependencies. If you're looking for information about the library itself, such as installation and usage instruction, check out its dedicated README.
yarn installThis project contains a few examples of how to use the library in the examples/ directory. They can be run using yarn example <name> from the project root.
hellois a simple hello world HTTP server.hello-distributedis a simple distributed example where the main HTTP server sends a request to a secondary one and uses the response as its own response.hello-manualis an example of how to use the OTel API for manually instrumenting code on top ofsolarwinds-apm.express-mysqlis a simple todo-list API usingexpressandmysql2.fastify-postgresis a simple todo-list API usingfastifyandpg.next-prismais a fullstack todo-list application using Next.js and Prisma.
The packages in this project support all LTS Node.js versions up until their End Of Life plus 1 year. At the moment this means Node.js 18, 20, 22 and 24 are supported.
This project is licensed under the Apache License, Version 2.0.