getsentry / getsentry/sentry-python

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

Open
#5,432 3 comments 4 reactions 0 assignees View on GitHub
Feature Python
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

### 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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.