https://sentry.io/welcome/
Track errors & monitor performance in all major languages & frameworks with Sentry
https://go.dev/play/p/uFHluuK7-84
- create a new project, pick golang
- after create project, you will be given a brief guide to starting sentry
- install
go get github.com/getsentry/sentry-go
- import
github.com/getsentry/sentry-go
- setup ur dsn
Dsn: "https://--DSN--"
"you will get dsn when you first create a project",
- capture message
sentry.CaptureMessage("It works!")
detail documentation https://docs.sentry.io/platforms/go/
Top comments (0)