Error Tracking with Sentry

Error Tracking with Sentry

Sets up Sentry error tracking for Node.js and Python apps, covering exception capture, source maps, release tracking, custom context and performance monitoring.

Skill files9 files

references/

scripts/

templates/

SKILL.md76 lines
1
---
2
name: error-tracking
3
description: >
4
Implement error tracking with Sentry for automatic exception monitoring,
5
release tracking, and performance issues. Use when setting up error
6
monitoring, tracking bugs in production, or analyzing application stability.
7
---
8
9
# Error Tracking
10
11
## Table of Contents
12
13
- [Overview](#overview)
14
- [When to Use](#when-to-use)
15
- [Quick Start](#quick-start)
16
- [Reference Guides](#reference-guides)
17
- [Best Practices](#best-practices)
18
19
## Overview
20
21
Set up comprehensive error tracking with Sentry to automatically capture, report, and analyze exceptions, performance issues, and application stability.
22
23
## When to Use
24
25
- Production error monitoring
26
- Automatic exception capture
27
- Release tracking
28
- Performance issue detection
29
- User impact analysis
30
31
## Quick Start
32
33
Minimal working example:
34
35
```bash
36
npm install -g @sentry/cli
37
npm install @sentry/node @sentry/tracing
38
sentry init -d
39
```
40
41
## Reference Guides
42
43
Detailed implementations in the `references/` directory:
44
45
| Guide | Contents |
46
|---|---|
47
| [Sentry Setup](references/sentry-setup.md) | Sentry Setup, Node.js Sentry Integration |
48
| [Express Middleware Integration](references/express-middleware-integration.md) | Express Middleware Integration |
49
| [Python Sentry Integration](references/python-sentry-integration.md) | Python Sentry Integration |
50
| [Source Maps and Release Management](references/source-maps-and-release-management.md) | Source Maps and Release Management, CI/CD Release Creation |
51
| [Custom Error Context](references/custom-error-context.md) | Custom Error Context |
52
| [Performance Monitoring](references/performance-monitoring.md) | Performance Monitoring |
53
54
## Best Practices
55
56
### ✅ DO
57
58
- Set up source maps for production
59
- Configure appropriate sample rates
60
- Track releases and deployments
61
- Filter sensitive information
62
- Add meaningful context to errors
63
- Use breadcrumbs for debugging
64
- Set user information
65
- Review error patterns regularly
66
67
### ❌ DON'T
68
69
- Send 100% of errors in production
70
- Include passwords in context
71
- Ignore configuration for environment
72
- Skip source map uploads
73
- Log personally identifiable information
74
- Use without proper filtering
75
- Disable tracking in production
76

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…