跳到正文
TakoAPI
返回技能列表

sentry-observability

由 sergical 提供

Coding Agents & IDEs
615下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Run sentry issue list <org>/<project> --query "is:unresolved" --sort date --limit 5 to find recent issues

  2. 2

    Run sentry issue view <short-id> to see context, affected users, and timeline

  3. 3

    Run sentry issue explain <issue-id> to get AI root cause analysis via Sentry Seer

  4. 4

    Run sentry issue plan <issue-id> to generate concrete fix steps

  5. 5

    Run sentry api /issues/<id>/ --method PUT --field status=resolved to 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 或你在用的任意编程智能体里。

链接