@@ -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
77873. **Multiple rules**: Fetch multiple rules if task spans domains (e.g., `["scopes", "opentelemetry"]` for tracing scope issues)
78884. **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