
Sentry Go Sdk
This walks you through the full Sentry setup for Go apps with an opinionated wizard that detects your framework and dependencies first, then recommends exactly which features to enable. It covers net/http, Gin, Echo, Fiber, FastHTTP, Iris, and Negroni, plus automatic integration with common logging libraries like logrus, zap, and zerolog. The guide is structured in phases: detect what's already there, propose a concrete plan instead of asking open-ended questions, then install only what you need. It includes sensible defaults for tracing sample rates and proper middleware configuration for each framework. Good if you want error monitoring, distributed tracing, or cron job monitoring without guessing at the right incantations.
- skills.sh installs
- 321
- GitHub stars
- 25
- last updated
- Aug 21, 2026
Install
$ npx -y skills add getsentry/sentry-agent-skills --skill sentry-go-sdk --agent claude-codeInstalls into .claude/skills of the current project.
Files
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). 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
# Detect logging libraries
grep -E "sirupsen/logrus|go.uber.org/zap|rs/zerolog|log/slog" go.mod go.sum 2>/dev/null
# Detect cron / scheduler patterns
grep -E "robfig/cron|go-co-op/gocron|jasonlvhit/gocron" go.mod 2>/dev/null
Sponsors
Details
- Repository
- github.com/getsentry/sentry-agent-skills
- Categories
- DevOps & CI/CD, AI & Agent Building, Debugging, Go
- First seen
- Jun 3, 2026
More from getsentry/sentry-agent-skills
All 20- Sentry Svelte Sdk319
- Sentry Ruby Sdk311
- Sentry Otel Exporter Setup304
- Sentry Dotnet Sdk303
- Sentry Setup Logging289
- Sentry Setup Tracing253
- Sentry Setup Metrics209
- Sentry React Native Setup150
- Sentry Fix Issues2.6K
- Sentry React Setup1.1K
- Sentry Setup Ai Monitoring900
- Sentry Nextjs Sdk665
- Sentry Pr Code Review637
- Sentry Create Alert596
- Sentry React Sdk586
- Sentry React Native Sdk549
- Sentry Sdk Skill Creator422
- Sentry Python Sdk384
- Sentry Cocoa Sdk334