sentry-observability
sergical tarafından
Coding Agents & IDEsÖzet
Add observability to your OpenClaw instance — errors, logs, and traces sent to Sentry.
Açıklama
Bu Beceri Ne Yapar
Connects an OpenClaw instance to Sentry for error tracking, structured logs, and performance traces. Covers plugin setup to route telemetry and CLI-based investigation of issues, logs, and events.
The Sentry CLI covers listing issues, getting AI-generated fix plans, and marking issues resolved in the terminal, without opening the web dashboard for routine investigation.
Ne Zaman Kullanılır
- Monitoring production errors from an OpenClaw gateway
- Streaming real-time structured logs to catch failures as they happen
- Running AI root cause analysis on unresolved exceptions
- Filtering logs by level or message content from the terminal
- Resolving Sentry issues directly via CLI without opening a browser
Örnek İş Akışı
User asks: Why is my OpenClaw gateway throwing errors in production?
- 1
Run
sentry issue list <org>/<project> --query "is:unresolved" --sort date --limit 5to find recent issues - 2
Run
sentry issue view <short-id>to see context, affected users, and timeline - 3
Run
sentry issue explain <issue-id>to get AI root cause analysis via Sentry Seer - 4
Run
sentry issue plan <issue-id>to generate concrete fix steps - 5
Run
sentry api /issues/<id>/ --method PUT --field status=resolvedto close the issue after fixing
Root cause identified with a concrete fix plan; issue marked resolved in Sentry
Gereksinimler
- Sentry account
- SENTRY_AUTH_TOKEN environment variable (or interactive login via sentry auth login)
Kurulum
clawhub install sergical/sentry-observabilityCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.