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.
git lfs pull
yarn install
This 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.
hello
is a simple hello world HTTP server.hello-distributed
is 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-manual
is an example of how to use the OTel API for manually instrumenting code on top ofsolarwinds-apm
.express-mysql
is a simple todo-list API usingexpress
andmysql2
.fastify-postgres
is a simple todo-list API usingfastify
andpg
.next-prisma
is 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 and 22 are supported.
This project is licensed under the Apache License, Version 2.0.