Learn how to instrument your Nest.js application with infrastack.ai and OpenTelemetry for comprehensive observability and performance insights.
Install the NPM package
Prepare your environment
.env
file by using the dotenv library.Create instrumentation.ts
instrumentation.ts
file under the src
folder.Import the instrumentation module in your main.ts file
Run your application