{
  "schemaVersion": "1.0",
  "item": {
    "slug": "sentry-observability",
    "name": "Sentry Observability",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/sergical/sentry-observability",
    "canonicalUrl": "https://clawhub.ai/sergical/sentry-observability",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/sentry-observability",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sentry-observability",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/cli-commands.md",
      "references/plugin-setup.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/sentry-observability"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/sentry-observability",
    "agentPageUrl": "https://openagent3.xyz/skills/sentry-observability/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sentry-observability/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sentry-observability/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Sentry — OpenClaw Observability",
        "body": "See what your OpenClaw instance is doing: errors, structured logs, and performance traces — all in Sentry.\n\nTwo halves: setup (get telemetry flowing) and investigation (query it with the CLI)."
      },
      {
        "title": "1. Authenticate",
        "body": "sentry auth login\n\nOAuth device flow — follow the browser prompt. Credentials stored in ~/.sentry/cli.db.\n\nAlternatives (one-liners):\n\nsentry auth login --token <TOKEN> — paste an auth token directly\nSENTRY_AUTH_TOKEN=<token> — env var, useful in CI"
      },
      {
        "title": "2. Create a Project",
        "body": "Create a dedicated Sentry project for your OpenClaw instance:\n\nsentry api /teams/<org>/<team>/projects/ \\\n  --method POST \\\n  --field name=\"my-openclaw\" \\\n  --field platform=node\n\nDon't know your org/team slugs? List them:\n\nsentry api /organizations/                          # list orgs\nsentry api /organizations/<org>/teams/              # list teams in org"
      },
      {
        "title": "3. Get the DSN",
        "body": "sentry project view <org>/my-openclaw --json | jq -r '.dsn'\n\nOr via the keys endpoint:\n\nsentry api /projects/<org>/my-openclaw/keys/ | jq '.[0].dsn.public'"
      },
      {
        "title": "4. Configure OpenClaw",
        "body": "Add the DSN to your openclaw.json:\n\n{\n  \"plugins\": {\n    \"entries\": {\n      \"sentry\": {\n        \"enabled\": true,\n        \"config\": {\n          \"dsn\": \"https://examplePublicKey@o0.ingest.sentry.io/0\",\n          \"enableLogs\": true\n        }\n      }\n    }\n  }\n}\n\nNote: Config goes under plugins.entries.sentry.config, not directly under sentry.\n\nThen install the Sentry plugin. See references/plugin-setup.md for the full plugin implementation using @sentry/node.\n\nLog buffer gotcha: Sentry's structured logs buffer up to 100 items before auto-flushing. For low-volume services like OpenClaw, logs may sit in the buffer for a long time. The plugin should call _INTERNAL_flushLogsBuffer(client) periodically (e.g. every 30s) and before Sentry.flush() on shutdown. See references/plugin-setup.md for the implementation."
      },
      {
        "title": "5. Verify",
        "body": "Restart your OpenClaw gateway, then check Sentry for incoming events:\n\nsentry issue list <org>/my-openclaw --limit 5"
      },
      {
        "title": "Investigation",
        "body": "Once telemetry is flowing, use the CLI to query your OpenClaw's errors, traces, and events."
      },
      {
        "title": "List Issues",
        "body": "sentry issue list <org>/<project>\nsentry issue list <org>/<project> --query \"is:unresolved\" --sort freq --limit 20\nsentry issue list <org>/                              # all projects in org"
      },
      {
        "title": "View an Issue",
        "body": "sentry issue view <short-id>                          # e.g. MY-OPENCLAW-42\nsentry issue view <short-id> --json                   # structured output"
      },
      {
        "title": "AI Root Cause Analysis",
        "body": "sentry issue explain <issue-id>                       # Seer analyzes the root cause\nsentry issue explain <issue-id> --force               # force fresh analysis\nsentry issue plan <issue-id>                          # generate a fix plan (run explain first)"
      },
      {
        "title": "Structured Logs",
        "body": "sentry log list <org>/<project>                       # last 100 logs\nsentry log list <org>/<project> --limit 50            # last 50\nsentry log list <org>/<project> -q 'level:error'      # filter by level\nsentry log list <org>/<project> -q 'database'         # filter by message\nsentry log list <org>/<project> -f                    # stream in real-time (2s poll)\nsentry log list <org>/<project> -f 5                  # stream with 5s poll\nsentry log list <org>/<project> --json                # structured output\n\nView a specific log entry:\n\nsentry log view <log-id>                              # 32-char hex ID\nsentry log view <log-id> --json\nsentry log view <log-id> --web                        # open in browser"
      },
      {
        "title": "Inspect Events",
        "body": "sentry event view <event-id>                          # full stack trace + context\nsentry event view <event-id> --json"
      },
      {
        "title": "Direct API Calls",
        "body": "sentry api /projects/<org>/<project>/issues/ --paginate\nsentry api /issues/<id>/ --method PUT --field status=resolved\nsentry api /issues/<id>/ --method PUT --field assignedTo=\"user@example.com\""
      },
      {
        "title": "Workflow: Investigate an Error",
        "body": "sentry issue list <org>/<project> --query \"is:unresolved\" --sort date --limit 5\nsentry issue view <short-id> — context, affected users, timeline\nsentry issue explain <issue-id> — AI root cause analysis\nsentry issue plan <issue-id> — concrete fix steps\nFix → sentry api /issues/<id>/ --method PUT --field status=resolved"
      },
      {
        "title": "Reference",
        "body": "Full CLI commands: references/cli-commands.md\nPlugin implementation: references/plugin-setup.md\nCLI docs: https://cli.sentry.dev\nSentry API: https://docs.sentry.io/api/\nNode SDK: https://docs.sentry.io/platforms/javascript/guides/node/"
      }
    ],
    "body": "Sentry — OpenClaw Observability\n\nSee what your OpenClaw instance is doing: errors, structured logs, and performance traces — all in Sentry.\n\nTwo halves: setup (get telemetry flowing) and investigation (query it with the CLI).\n\nSetup\n1. Authenticate\nsentry auth login\n\n\nOAuth device flow — follow the browser prompt. Credentials stored in ~/.sentry/cli.db.\n\nAlternatives (one-liners):\n\nsentry auth login --token <TOKEN> — paste an auth token directly\nSENTRY_AUTH_TOKEN=<token> — env var, useful in CI\n2. Create a Project\n\nCreate a dedicated Sentry project for your OpenClaw instance:\n\nsentry api /teams/<org>/<team>/projects/ \\\n  --method POST \\\n  --field name=\"my-openclaw\" \\\n  --field platform=node\n\n\nDon't know your org/team slugs? List them:\n\nsentry api /organizations/                          # list orgs\nsentry api /organizations/<org>/teams/              # list teams in org\n\n3. Get the DSN\nsentry project view <org>/my-openclaw --json | jq -r '.dsn'\n\n\nOr via the keys endpoint:\n\nsentry api /projects/<org>/my-openclaw/keys/ | jq '.[0].dsn.public'\n\n4. Configure OpenClaw\n\nAdd the DSN to your openclaw.json:\n\n{\n  \"plugins\": {\n    \"entries\": {\n      \"sentry\": {\n        \"enabled\": true,\n        \"config\": {\n          \"dsn\": \"https://examplePublicKey@o0.ingest.sentry.io/0\",\n          \"enableLogs\": true\n        }\n      }\n    }\n  }\n}\n\n\nNote: Config goes under plugins.entries.sentry.config, not directly under sentry.\n\nThen install the Sentry plugin. See references/plugin-setup.md for the full plugin implementation using @sentry/node.\n\nLog buffer gotcha: Sentry's structured logs buffer up to 100 items before auto-flushing. For low-volume services like OpenClaw, logs may sit in the buffer for a long time. The plugin should call _INTERNAL_flushLogsBuffer(client) periodically (e.g. every 30s) and before Sentry.flush() on shutdown. See references/plugin-setup.md for the implementation.\n\n5. Verify\n\nRestart your OpenClaw gateway, then check Sentry for incoming events:\n\nsentry issue list <org>/my-openclaw --limit 5\n\nInvestigation\n\nOnce telemetry is flowing, use the CLI to query your OpenClaw's errors, traces, and events.\n\nList Issues\nsentry issue list <org>/<project>\nsentry issue list <org>/<project> --query \"is:unresolved\" --sort freq --limit 20\nsentry issue list <org>/                              # all projects in org\n\nView an Issue\nsentry issue view <short-id>                          # e.g. MY-OPENCLAW-42\nsentry issue view <short-id> --json                   # structured output\n\nAI Root Cause Analysis\nsentry issue explain <issue-id>                       # Seer analyzes the root cause\nsentry issue explain <issue-id> --force               # force fresh analysis\nsentry issue plan <issue-id>                          # generate a fix plan (run explain first)\n\nStructured Logs\nsentry log list <org>/<project>                       # last 100 logs\nsentry log list <org>/<project> --limit 50            # last 50\nsentry log list <org>/<project> -q 'level:error'      # filter by level\nsentry log list <org>/<project> -q 'database'         # filter by message\nsentry log list <org>/<project> -f                    # stream in real-time (2s poll)\nsentry log list <org>/<project> -f 5                  # stream with 5s poll\nsentry log list <org>/<project> --json                # structured output\n\n\nView a specific log entry:\n\nsentry log view <log-id>                              # 32-char hex ID\nsentry log view <log-id> --json\nsentry log view <log-id> --web                        # open in browser\n\nInspect Events\nsentry event view <event-id>                          # full stack trace + context\nsentry event view <event-id> --json\n\nDirect API Calls\nsentry api /projects/<org>/<project>/issues/ --paginate\nsentry api /issues/<id>/ --method PUT --field status=resolved\nsentry api /issues/<id>/ --method PUT --field assignedTo=\"user@example.com\"\n\nWorkflow: Investigate an Error\nsentry issue list <org>/<project> --query \"is:unresolved\" --sort date --limit 5\nsentry issue view <short-id> — context, affected users, timeline\nsentry issue explain <issue-id> — AI root cause analysis\nsentry issue plan <issue-id> — concrete fix steps\nFix → sentry api /issues/<id>/ --method PUT --field status=resolved\nReference\nFull CLI commands: references/cli-commands.md\nPlugin implementation: references/plugin-setup.md\nCLI docs: https://cli.sentry.dev\nSentry API: https://docs.sentry.io/api/\nNode SDK: https://docs.sentry.io/platforms/javascript/guides/node/"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/sergical/sentry-observability",
    "publisherUrl": "https://clawhub.ai/sergical/sentry-observability",
    "owner": "sergical",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/sentry-observability",
    "downloadUrl": "https://openagent3.xyz/downloads/sentry-observability",
    "agentUrl": "https://openagent3.xyz/skills/sentry-observability/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sentry-observability/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sentry-observability/agent.md"
  }
}