diff --git a/skills/sentry-python-sdk/SKILL.md b/skills/sentry-python-sdk/SKILL.md index 65d97f1b..eec824d9 100644 --- a/skills/sentry-python-sdk/SKILL.md +++ b/skills/sentry-python-sdk/SKILL.md @@ -34,7 +34,7 @@ Run these commands to understand the project before making recommendations: grep -i sentry requirements.txt pyproject.toml setup.cfg setup.py 2>/dev/null # Detect web framework -grep -rE "django|flask|fastapi|starlette|aiohttp|tornado|quart|falcon|sanic|bottle" \ +grep -rE "django|flask|fastapi|starlette|aiohttp|tornado|quart|falcon|sanic|bottle|pyramid" \ requirements.txt pyproject.toml 2>/dev/null # Detect task queues @@ -166,6 +166,7 @@ sentry_sdk.init( | **Tornado** | Module level, before app setup | No integration class needed | | **Quart** | Before `app = Quart(__name__)` | | | **Falcon** | Module level, before `app = falcon.App()` | | +| **Pyramid** | Module level, before `config = Configurator()` | WSGI framework | | **Sanic** | Inside `@app.listener("before_server_start")` | Sanic's lifecycle requires async init | | **Celery** | `@signals.celeryd_init.connect` in worker AND in calling process | Dual-process init required | | **RQ** | `mysettings.py` loaded by worker via `rq worker -c mysettings` | | @@ -211,7 +212,7 @@ Most integrations activate automatically when their package is installed — no | Auto-enabled | Explicit required | |-------------|-------------------| -| Django, Flask, FastAPI, Starlette, AIOHTTP, Tornado, Quart, Falcon, Sanic, Bottle | `DramatiqIntegration` | +| Django, Flask, FastAPI, Starlette, AIOHTTP, Tornado, Quart, Falcon, Pyramid, Sanic, Bottle | `DramatiqIntegration` | | Celery, RQ, Huey, ARQ | `GRPCIntegration` | | SQLAlchemy, Redis, asyncpg, pymongo | `StrawberryIntegration` | | Requests, HTTPX, aiohttp-client | `AsyncioIntegration` | diff --git a/skills/sentry-python-sdk/references/tracing.md b/skills/sentry-python-sdk/references/tracing.md index ceb465da..9f1f80ce 100644 --- a/skills/sentry-python-sdk/references/tracing.md +++ b/skills/sentry-python-sdk/references/tracing.md @@ -153,6 +153,7 @@ sentry_sdk.init(dsn="...", traces_sampler=traces_sampler) | Django | ✅ | Requests, DB queries (ORM), cache, signals | | Flask | ✅ | Requests, Jinja2 rendering | | FastAPI / Starlette | ✅ | Requests, background tasks | +| Pyramid | ✅ | Requests, route matching | | Celery | ✅ | Task execution, queue operations | | SQLAlchemy | ✅ | All queries as spans + breadcrumbs | | Redis | ✅ | All commands as spans + breadcrumbs |