OTel: Sentry
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- backend, observability-sre
Research direction
Start by inspecting the current Sentry SDK initialization in flagsmith/flagsmith and compare it with api/integrations/sentry/samplers.py. Then trace the existing OpenTelemetry tracing setup and determine how the sampler and compatible settings fit there. Done means Sentry initialization uses OTLPIntegration and tracing, breadcrumbs, and error capture continue to work.
Written by the indexing model from the issue text.
Description
- Move over Sentry SDK initialisation from flagsmith/flagsmith to here.
- Port https://github.com/Flagsmith/flagsmith/blob/main/api/integrations/sentry/samplers.py to a
opentelemetry.sdk.trace.sampling.Samplersubclass, and maintain compatibility with existing Sentry tracing settingsDEFAULT_SENTRY_TRACE_SAMPLE_RATE,DASHBOARD_ENDPOINTS_SENTRY_TRACE_SAMPLE_RATE,FORCE_SENTRY_TRACE_KEY. Introduce non-sentry aliases for these settings (e.g.OTEL_FORCE_TRACE_KEY). Add the Sampler to OTel tracing setup. - Initialise Sentry SDK with
integrations=[OTLPIntegration()]. - Make sure Sentry tracing, breadcrumbs, and error capture work.
- Dominant language
- Python
- Stars
- 2
- Forks
- 4
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Flagsmith/flagsmith-common
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Flagsmith/flagsmith-common#250 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Flagsmith/flagsmith-common#198 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Flagsmith/flagsmith-common#254 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Flagsmith/flagsmith-common#252 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Flagsmith/flagsmith-common#245 ·
All issues in Flagsmith/flagsmith-common
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100