sentry-observability
bởi sergical
Coding Agents & IDEsTóm tắt
Add observability to your OpenClaw instance — errors, logs, and traces sent to Sentry.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- Sentry account
- SENTRY_AUTH_TOKEN environment variable (or interactive login via sentry auth login)
Cài đặt
clawhub install sergical/sentry-observabilityChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.