getsentry / getsentry/sentry-javascript
Support Statsig experiments (in addition to feature flags)
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 515
Description
### Problem Statement
https://www.statsig.com/featureflags are already supported by https://docs.sentry.io/platforms/javascript/configuration/integrations/statsig/
But what about https://www.statsig.com/experimentation?
### Solution Brainstorm
Find some way to set experiment metadata on reports/spans.
: could be one way, but it omits some of the dynamic values. It's similar to : and searchable though (AFAICT).
### Additional Context
_No response_
### Priority
_No response_
Contributor guide
Research direction
Start by reading the existing Statsig feature-flag integration described at docs.sentry.io/platforms/javascript/configuration/integrations/statsig/. Then investigate how feature-flag metadata is attached to reports and spans, and determine an agreed representation for Statsig experiment names, groups, and dynamic values; done means experiment metadata is attached and searchable without losing relevant values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100