sentry-observability
由 sergical 提供
Coding Agents & IDEs简介
Add observability to your OpenClaw instance — errors, logs, and traces sent to Sentry.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- Sentry account
- SENTRY_AUTH_TOKEN environment variable (or interactive login via sentry auth login)
安装
clawhub install sergical/sentry-observability运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。