跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Sentry Go Sdk

技能 已验证 活跃
属于:Sentry

Full Sentry SDK setup for Go. Use when asked to "add Sentry to Go", "install sentry-go", "setup Sentry in Go", or configure error monitoring, tracing, logging, metrics, or crons for Go applications. Supports net/http, Gin, Echo, Fiber, FastHTTP, Iris, Negroni, and gRPC.

目的

To streamline and demystify the process of adding Sentry SDKs to Go applications, ensuring proper configuration for error monitoring, tracing, logging, and other observability features.

功能

  • Automated Sentry SDK setup for Go projects
  • Detects Go frameworks (net/http, Gin, Echo, Fiber, etc.)
  • Guides configuration for error monitoring, tracing, and logging
  • Provides code examples for initialization, middleware, and advanced features
  • Includes troubleshooting and best practice guidance

使用场景

  • Use when asked to add Sentry to a Go application.
  • Use when configuring error monitoring, tracing, or logging for Go services.
  • Use when needing to integrate the `sentry-go` SDK with specific Go frameworks.
  • Use when encountering issues with Sentry Go SDK setup or configuration.

非目标

  • Writing Go application code beyond Sentry SDK integration.
  • Configuring Sentry project settings or alerting rules within the Sentry platform.
  • Troubleshooting runtime application errors unrelated to Sentry SDK setup.

实践

  • SDK Setup
  • Error Monitoring
  • Distributed Tracing
  • Observability

先决条件

  • Go toolchain installed
  • Project with a `go.mod` file
  • Access to Sentry DSN

安装

请先添加 Marketplace

/plugin marketplace add getsentry/sentry-for-ai
/plugin install sentry-for-ai@sentry-plugin-marketplace

质量评分

已验证
95 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标170
许可证MIT
状态
查看源代码

类似扩展

Sentry Python SDK

100

Full Sentry SDK setup for Python. Use when asked to "add Sentry to Python", "install sentry-sdk", "setup Sentry in Python", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for Python applications. Supports Django, Flask, FastAPI, Celery, Starlette, AIOHTTP, Tornado, and more.

技能
getsentry

Sentry Tanstack Start Sdk

100

Full Sentry SDK setup for TanStack Start React. Use when asked to "add Sentry to TanStack Start", "install @sentry/tanstackstart-react", or configure error monitoring, tracing, session replay, logs, or user feedback in a TanStack Start React app.

技能
getsentry

Sentry React SDK

100

Full Sentry SDK setup for React. Use when asked to "add Sentry to React", "install @sentry/react", or configure error monitoring, tracing, session replay, profiling, or logging for React applications. Supports React 16+, React Router v5-v7 non-framework mode, TanStack Router, Redux, Vite, and webpack.

技能
getsentry

Sentry React Router Framework Sdk

100

Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.

技能
getsentry

Sentry Svelte Sdk

99

Full Sentry SDK setup for Svelte and SvelteKit. Use when asked to "add Sentry to Svelte", "add Sentry to SvelteKit", "install @sentry/sveltekit", or configure error monitoring, tracing, session replay, or logging for Svelte or SvelteKit applications.

技能
getsentry

Sentry Next.js SDK Setup

99

Full Sentry SDK setup for Next.js. Use when asked to "add Sentry to Next.js", "install @sentry/nextjs", or configure error monitoring, tracing, session replay, logging, profiling, AI monitoring, or crons for Next.js applications. Supports Next.js 13+ with App Router and Pages Router.

技能
getsentry