getsentry / getsentry/sentry-python

Migrate `StatsigIntegration` from `statsig` (legacy) to `statsig-python-core` pip package

Aperta
#5,432 3 commenti 4 reazioni 0 assegnatari Vedi su GitHub
Feature Python
Lingua principale
Python
Stelle
2.2k
Fork
669
Merge medio
1g 1h
PR unite (30g)
213

Descrizione

### Problem Statement

The [StatsigIntegration](https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/integrations/statsig.py) uses [`statsig`](https://pypi.org/project/statsig/) library underneath.

The old [`statsig`](https://pypi.org/project/statsig/) library is called as **legacy** in Statsig's [documentation](https://docs.statsig.com/server/pythonSDK)

It forces us to either:
- use the new (recommended) library but without Sentry integration
- use the old one with Sentry integration

### Solution Brainstorm

Documentation for the new one ([`statsig-python-core`](https://pypi.org/project/statsig-python-core/)) is [here](https://docs.statsig.com/server-core/python-core)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.