TypeScript SDK for TraceRoot
Introduction
The TraceRoot TypeScript SDK is a lightweight wrapper around OpenTelemetry and cloudwatch logging, optimized for ease of use.Installation
Environment Setup
Create an TraceRoot token from the dashboard.TypeScript
Add it to yourtraceroot.config.ts
file in the root of your project.
JavaScript
Add it to yourtraceroot.config.js
file in the root of your project.
Environment Variable
Add it to your.env
file in the root of your project.
.env
TRACEROOT_CONFIG_PATH
and add it to your backend .env
file, if this is needed due to webpack or other bundlers.
.env