Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Using sentry-browser with Uptrace

Uptrace is compatible with the Sentry SDK, so you can use @sentry/browser to send events to Uptrace by pointing the Sentry DSN at your Uptrace project.

Install dependencies:

npm install

To run this example, create an Uptrace project to obtain a DSN and run:

UPTRACE_DSN=https://<token>@api.uptrace.dev/<project_id> node main.mjs

Then use the event id from the CLI output to find the event in the Uptrace UI.