# Observability Sentry

> Sentry error tracking and performance monitoring. Use when investigating application errors, checking error frequency, managing issue status, or reviewing releases.

- **Type:** Skill
- **Install:** `agentstack add skill-swapnildahiphale-opensre-observability-sentry`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [swapnildahiphale](https://agentstack.voostack.com/s/swapnildahiphale)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [swapnildahiphale](https://github.com/swapnildahiphale)
- **Source:** https://github.com/swapnildahiphale/OpenSRE/tree/main/sre-agent/.claude/skills/observability-sentry
- **Website:** https://opensre.in

## Install

```sh
agentstack add skill-swapnildahiphale-opensre-observability-sentry
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Sentry Error Tracking

## Authentication

**IMPORTANT**: Credentials are injected automatically by a proxy layer. Do NOT check for `SENTRY_AUTH_TOKEN` in environment variables - it won't be visible to you. Just run the scripts directly; authentication is handled transparently.

Configuration environment variables you CAN check (non-secret):
- `SENTRY_ORGANIZATION` - Sentry organization slug
- `SENTRY_PROJECT` - Default Sentry project slug

---

## MANDATORY: Error-First Investigation

**Start with listing issues, then drill into details.**

```
LIST ISSUES -> GET DETAILS -> CHECK STATS -> REVIEW RELEASES
```

## Available Scripts

All scripts are in `.claude/skills/observability-sentry/scripts/`

### list_issues.py - ALWAYS START HERE
```bash
python .claude/skills/observability-sentry/scripts/list_issues.py --project PROJECT_SLUG [--query "is:unresolved"]

# Examples:
python .claude/skills/observability-sentry/scripts/list_issues.py --project api-backend
python .claude/skills/observability-sentry/scripts/list_issues.py --project api-backend --query "is:unresolved level:error"
```

### get_issue.py - Get Issue Details
```bash
python .claude/skills/observability-sentry/scripts/get_issue.py --issue-id 12345678
```

### update_issue_status.py - Update Issue Status
```bash
python .claude/skills/observability-sentry/scripts/update_issue_status.py --issue-id 12345678 --status resolved
# Status options: resolved, unresolved, ignored, resolvedInNextRelease
```

### list_projects.py - List Organization Projects
```bash
python .claude/skills/observability-sentry/scripts/list_projects.py
```

### get_project_stats.py - Project Statistics
```bash
python .claude/skills/observability-sentry/scripts/get_project_stats.py --project PROJECT_SLUG [--stat received] [--resolution 1h]
```

### list_releases.py - List Releases
```bash
python .claude/skills/observability-sentry/scripts/list_releases.py --project PROJECT_SLUG [--limit 10]
```

---

## Sentry Search Query Syntax
```
is:unresolved                    # Status
level:error                      # Level
first-release:1.2.0              # Release
firstSeen:-24h                   # Time
assigned:user@company.com        # Assignment
is:unresolved level:error firstSeen:-24h   # Combined
```

---

## Investigation Workflow

### Error Spike Investigation
```
1. list_issues.py --project api --query "is:unresolved"
2. get_issue.py --issue-id 
3. list_releases.py --project api
4. get_project_stats.py --project api --stat received --resolution 1h
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [swapnildahiphale](https://github.com/swapnildahiphale)
- **Source:** [swapnildahiphale/OpenSRE](https://github.com/swapnildahiphale/OpenSRE)
- **License:** Apache-2.0
- **Homepage:** https://opensre.in

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-swapnildahiphale-opensre-observability-sentry
- Seller: https://agentstack.voostack.com/s/swapnildahiphale
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
