New advertisers: 50% off your first month with code FIRSTMONTHSee slots
getsentry avatar

Sentry Go Sdk

Official Go SDK setup wizard for error monitoring, tracing, logging, metrics, and crons in Go apps.

skills.sh installs
2.3K
GitHub stars
280
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers a scan-then-recommend workflow: detect frameworks and logging libraries in go.mod, then propose Error Monitoring, Tracing, Logging, Metrics, or Crons
  • Includes a recommended sentry.Init block, per-framework middleware for net/http, Gin, Echo, Fiber, FastHTTP, Iris, and Negroni, plus gRPC interceptors
  • Enforces Go 1.25 or later for sentry-go v0.33.0 and above, and removes Profiling from recommendations since v0.31.0
  • Designed for Go developers adding Sentry to an existing service or setting up monitoring for a new project

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-go-sdk -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

All Skills > SDK Setup > Go SDK

Sentry Go SDK

Opinionated wizard that scans your Go project and guides you through complete Sentry setup.

Invoke This Skill When

  • User asks to "add Sentry to Go" or "setup Sentry" in a Go app
  • User wants error monitoring, tracing, logging, metrics, or crons in Go
  • User mentions sentry-go, github.com/getsentry/sentry-go, or Go Sentry SDK
  • User wants to monitor panics, HTTP handlers, or scheduled jobs in Go

Note: SDK versions and APIs below reflect Sentry docs at time of writing (sentry-go v0.43.0+). As of v0.33.0+, the SDK requires Go 1.25 or later (supports the two most recent Go major versions). Always verify against docs.sentry.io/platforms/go/ before implementing.


Phase 1: Detect

Run these commands to understand the project before making any recommendations:

# Check existing Sentry dependency
grep -i sentry go.mod 2>/dev/null

# Detect web framework
grep -E "gin-gonic/gin|labstack/echo|gofiber/fiber|valyala/fasthttp|kataras/iris|urfave/negroni" go.mod 2>/dev/null

Details

Repository
github.com/getsentry/sentry-for-ai
Categories
Go, Debugging, DevOps & Cloud
First seen
May 16, 2026

More from getsentry/sentry-for-ai

All 27

Similar to Sentry Go Sdk

More Go