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

Sentry Python SDK

技能 已验证 活跃
属于:Sentry

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.

目的

To fully configure Sentry SDK for Python applications, ensuring robust error monitoring, tracing, profiling, and other features with minimal user effort.

功能

  • Automated Sentry SDK setup for Python
  • Framework-specific initialization guidance (Django, Flask, FastAPI, etc.)
  • Configuration for error monitoring, tracing, profiling, logging, metrics, and crons
  • Support for AI monitoring and OpenTelemetry integration
  • Troubleshooting and best practices for Sentry integration

使用场景

  • When asked to add Sentry to a Python project
  • When setting up error monitoring, tracing, or profiling in Python
  • When configuring Sentry for specific Python frameworks
  • When needing to instrument AI/LLM calls with Sentry

非目标

  • Directly managing Sentry infrastructure
  • Performing code analysis unrelated to Sentry integration
  • Replacing the Sentry SDK documentation entirely

实践

  • SDK Setup
  • Error Monitoring
  • Distributed Tracing
  • Application Performance Monitoring (APM)
  • Logging Integration
  • AI Monitoring

先决条件

  • Python 3.x environment
  • pip package manager
  • A Sentry DSN

安装

请先添加 Marketplace

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

质量评分

已验证
100 /100
1 day ago 分析

信任信号

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

类似扩展

Sentry .NET SDK

99

Full Sentry SDK setup for .NET. Use when asked to "add Sentry to .NET", "install Sentry for C#", or configure error monitoring, tracing, profiling, logging, or crons for ASP.NET Core, MAUI, WPF, WinForms, Blazor, Azure Functions, or any other .NET application.

技能
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

Sentry Elixir Sdk

99

Full Sentry SDK setup for Elixir. Use when asked to "add Sentry to Elixir", "install sentry for Elixir", or configure error monitoring, tracing, logging, or crons for Elixir, Phoenix, or Plug applications. Supports Phoenix, Plug, LiveView, Oban, and Quantum.

技能
getsentry