Sentry.io Traces Instrumentation #994
johnny-woodtke
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
fine |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While there are docs and articles out there that detail how to integrate basic Sentry error handling with an Elysia server, what follows is how to properly instrument an Elysia server to enable Sentry tracing.
Initialize Sentry:
Instrument your Elysia server:
Now you should see traces tracked by Sentry:
![Screenshot 2025-01-04 at 12 10 10 PM](https://private-user-images.githubusercontent.com/90534770/400153856-f59ba63e-0cb7-4e19-b7e1-ac336e7a9d63.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NzUwMjAsIm5iZiI6MTczOTQ3NDcyMCwicGF0aCI6Ii85MDUzNDc3MC80MDAxNTM4NTYtZjU5YmE2M2UtMGNiNy00ZTE5LWI3ZTEtYWMzMzZlN2E5ZDYzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE5MjUyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTExZjgyY2YwNzkyMmE3ODgxMjk4OGQxNzdkYzAwMzc0NjNhYzZjYTJiYTAxYWFhYTgzNzJmM2RjZTgxYmUzODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.jl8H_6YIOqVITAK2S8OWQb1rt_wUZo3X0ANZZem5Em0)
Beta Was this translation helpful? Give feedback.
All reactions