Skip to content

Commit eb1dc88

Browse files
committed
add profiling info to overview_dev.mdc
1 parent 2efd7ea commit eb1dc88

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.cursor/rules/overview_dev.mdc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ Use the `fetch_rules` tool to include these rules when working on specific areas
5353
- `SentryMetricsEvent`, `SentryMetricsEvents`
5454
- `SentryOptions.getMetrics()`, `beforeSend` callback
5555

56+
- **`profiling`**: Use when working with:
57+
- Continuous profiling (`sentry-async-profiler` module)
58+
- `IContinuousProfiler`, `JavaContinuousProfiler`, `AndroidContinuousProfiler`
59+
- `ProfileChunk`, chunk rotation and sending
60+
- `ProfileLifecycle` (MANUAL vs TRACE modes)
61+
- `profilesSampleRate`, `profilingTracesHz`, `profileLifecycle` options
62+
- Integration with rate limiting, offline caching, scopes
63+
- JFR file handling, async-profiler integration
64+
- Platform differences (JVM vs Android profiling)
65+
5666
### Integration & Infrastructure
5767
- **`opentelemetry`**: Use when working with:
5868
- OpenTelemetry modules (`sentry-opentelemetry-*`)
@@ -77,10 +87,11 @@ Use the `fetch_rules` tool to include these rules when working on specific areas
7787
3. **Multiple rules**: Fetch multiple rules if task spans domains (e.g., `["scopes", "opentelemetry"]` for tracing scope issues)
7888
4. **Context clues**: Look for these keywords in requests to determine relevant rules:
7989
- Scope/Hub/forking → `scopes`
80-
- Duplicate/dedup → `deduplication`
90+
- Duplicate/dedup → `deduplication`
8191
- OpenTelemetry/tracing/spans → `opentelemetry`
8292
- new module/integration/sample → `new_module`
8393
- Cache/offline/network → `offline`
8494
- System test/e2e/sample → `e2e_tests`
8595
- Feature flag/addFeatureFlag/flag evaluation → `feature_flags`
8696
- Metrics/count/distribution/gauge → `metrics`
97+
- Profiling/profiler/ProfileChunk/JFR → `profiling`

0 commit comments

Comments
 (0)