You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two problems: 100% sampling is a temporary expedient that's disastrous
once traffic climbs. _experiments is an unstable surface; Sentry has
no compatibility guarantee on those keys.
Why It Matters
At 50k req/day, a 100% sample rate sends 50k spans/hour into Sentry, a
monthly bill north of five figures within weeks of go-live.
Difficulty: good-first-issue · Effort: XS · Impact: observability cost
Problem Statement
quantara/web_app/api/main.pycalls:Two problems: 100% sampling is a temporary expedient that's disastrous
once traffic climbs.
_experimentsis an unstable surface; Sentry hasno compatibility guarantee on those keys.
Why It Matters
At 50k req/day, a 100% sample rate sends 50k spans/hour into Sentry, a
monthly bill north of five figures within weeks of go-live.
Expected Outcome
Configurable samples from env (
SENTRY_TRACES_SAMPLE_RATEdefault0.1,SENTRY_PROFILES_SAMPLE_RATEdefault0.1);_experimentsremoved.Acceptance Criteria
_experimentsremoved from init call.docs/environment_variables.mdupdated with both new env vars.Implementation Notes
Files / Modules Affected
quantara/web_app/api/main.pyquantara/web_app/config_validator.pydocs/environment_variables.mdDependencies: standalone.