DEV Community

Cover image for Configuration Sentry Golang
Suharxxxx
Suharxxxx

Posted on • Edited on

2

Configuration Sentry Golang

https://sentry.io/welcome/
Track errors & monitor performance in all major languages & frameworks with Sentry

https://go.dev/play/p/uFHluuK7-84
Image description

  • create a new project, pick golang

Image description

Image description

  • after create project, you will be given a brief guide to starting sentry

Image description

  • install go get github.com/getsentry/sentry-go

Image description

  • import github.com/getsentry/sentry-go

Image description

  • setup ur dsn Dsn: "https://--DSN--"

"you will get dsn when you first create a project",

Image description

  • capture message sentry.CaptureMessage("It works!")

Image description

Image description

detail documentation https://docs.sentry.io/platforms/go/

AWS Q Developer image

Your AI Code Assistant

Ask anything about your entire project, code and get answers and even architecture diagrams. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Start free in your IDE

Top comments (0)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay