Skip to content

Commit c49634f

Browse files
committed
update skill section
1 parent 97d6b59 commit c49634f

1 file changed

Lines changed: 52 additions & 31 deletions

File tree

docs/concepts/otlp/sentry-exporter.mdx

Lines changed: 52 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,57 @@ The Sentry Exporter routes telemetry from multiple services to different Sentry
1919
| Multiple projects, need per-service routing | `sentry` |
2020
| Dynamic environments with auto-provisioning | `sentry` with `auto_create_projects` |
2121

22+
## AI-Assisted Setup
23+
24+
<Expandable title="Interactive Setup with Claude Code" level="success">
25+
26+
If you use [Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview), a setup skill can guide you through configuration interactively.
27+
28+
The skill walks you through:
29+
- Creating a Sentry Internal Integration with the required permissions
30+
- Choosing the right routing strategy (`service.name`, custom attributes, or auto-creation)
31+
- Generating a complete collector configuration for your use case
32+
- Configuring self-hosted Sentry with TLS if needed
33+
- Troubleshooting common issues
34+
35+
**Installation:**
36+
37+
Install the [Sentry plugin](https://github.com/getsentry/sentry-for-claude):
38+
39+
From the Claude Marketplace:
40+
```bash
41+
/plugin marketplace update claude-plugins-official
42+
/plugin install sentry
43+
```
44+
45+
Or from local source:
46+
```bash
47+
git clone https://github.com/getsentry/sentry-for-claude.git
48+
cd sentry-for-claude
49+
/plugin marketplace add /path/to/sentry-for-claude
50+
/plugin install sentry@local
51+
```
52+
53+
Restart Claude Code to activate the plugin.
54+
55+
**Usage:**
56+
57+
Once installed, invoke the skill:
58+
59+
```
60+
/sentry-otel-exporter
61+
```
62+
63+
Or ask Claude Code:
64+
65+
```
66+
"Help me set up the Sentry OpenTelemetry Exporter"
67+
```
68+
69+
Claude will interactively guide you through the setup process, generating configuration tailored to your environment.
70+
71+
</Expandable>
72+
2273
## Prerequisites
2374

2475
### Collector Distribution
@@ -168,34 +219,4 @@ The exporter respects Sentry's rate limits automatically:
168219
| Missing routing attribute drops data | Ensure `service.name` is set on all resources |
169220
| First batch for auto-created projects may drop | Subsequent data flows normally after provisioning |
170221
| Deleted projects cause 403 until cache evicts | Avoid deleting projects while collector is running |
171-
| Single organization per exporter | Deploy multiple exporters for multi-org setups |
172-
173-
## Additional Tools
174-
175-
<Expandable title="Interactive Setup with Claude Code" level="success">
176-
177-
If you use [Claude Code](https://code.claude.com), a setup skill can guide you through configuration step-by-step.
178-
179-
**Installation:**
180-
181-
{/* TODO: add installation instructions */}
182-
183-
**Usage:**
184-
185-
Once installed, invoke the skill with:
186-
```
187-
/sentry-otel-exporter
188-
```
189-
190-
Or ask Claude Code:
191-
```
192-
"Help me set up the Sentry OpenTelemetry Exporter"
193-
```
194-
195-
The skill guides you through:
196-
- Creating a Sentry auth token
197-
- Choosing the right routing strategy
198-
- Generating collector configuration
199-
- Testing and verifying the setup
200-
201-
</Expandable>
222+
| Single organization per exporter | Deploy multiple exporters for multi-org setups |

0 commit comments

Comments
 (0)