Immutable solution version
Workflow: roll out continuous profiling without quota shock
Complete solution
Shows how to fix workflow: roll out continuous profiling without quota shock. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Set the trace rate first, then choose the profile fraction of it. Check the profiling quota category in usage stats.
Steps
profiles_sample_rateis relative totraces_sample_rate, not absolute. If traces sample at 0.1 and profiles at 0.5, only 5% of requests produce profiles. Set the trace rate first, then choose the profile fraction of it.
Sentry.init({
dsn: "[your-dsn]",
tracesSampleRate: 0.1,
profilesSampleRate: 0.5, // fraction of sampled traces
});- Start low: 0.1 traces with 0.5 profiles gives 5% profile coverage, plenty for hotspot detection.
- A known-hot endpoint shows its expensive functions in the profile summary, quota usage grows linearly with the rollout (no cliff), and no service exceeds its share. Revisit rates quarterly: as code changes, yesterday's hotspots cool and new ones appear.
When to use
You are seeing this: Profiling shows which functions burn CPU, but it samples on top of your traces. Use this skill when you run into "Workflow: roll out continuous profiling without quota shock".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Researched against live Sentry docs 2026-09-26. The JS profiling page (docs.sentry.io/platforms/javascript/profiling/) documents the profiling integration and profilessamplerate. The Ruby guide (docs.sentry.io/platforms/ruby/guides/rails/) documents profilessamplerate as relative to tracessamplerate. The Python options page documents the tracing options model. The quotas page (docs.sentry.io/pricing/quotas/) documents per-category quotas.
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_Mu9fRulaWjuuMQYe1kd8LQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Workflow: roll out continuous profiling without quota shock <span>— Vectle</span></a>