Skip to content

feat: Enable OpenTelemetry support#7132

Open
khvn26 wants to merge 1 commit intomainfrom
deps/bump-flagsmith-common-3.6.0
Open

feat: Enable OpenTelemetry support#7132
khvn26 wants to merge 1 commit intomainfrom
deps/bump-flagsmith-common-3.6.0

Conversation

@khvn26
Copy link
Copy Markdown
Member

@khvn26 khvn26 commented Apr 3, 2026

  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

Contributes to Flagsmith/flagsmith-common#182.

Bumps flagsmith-common from 3.5.0 to 3.6.0, which includes OTel instrumentation support.

Adds traceparent, tracestate, and baggage to the default FLAGSMITH_CORS_EXTRA_ALLOW_HEADERS so browser-based SDKs can forward W3C distributed trace context to the API.

How did you test this code?

Verified the lock file resolves cleanly and pre-commit hooks pass. The new OTel setup is opt-in, so no behaviour change without configuration.

Picks up OTel instrumentation (distributed tracing, log export) from
flagsmith-common and allows the W3C trace propagation headers
(traceparent, tracestate, baggage) through CORS so browser-based SDKs
can forward distributed trace context to the API.

beep boop
@khvn26 khvn26 requested a review from a team as a code owner April 3, 2026 17:58
@khvn26 khvn26 requested review from gagantrivedi and removed request for a team April 3, 2026 17:58
Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Code review skipped — your organization's overage spend limit has been reached.

Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.

Once credits are available, reopen this pull request to trigger a review.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs Ignored Ignored Apr 3, 2026 5:58pm
flagsmith-frontend-preview Ignored Ignored Apr 3, 2026 5:58pm
flagsmith-frontend-staging Ignored Ignored Apr 3, 2026 5:58pm

Request Review

@github-actions github-actions bot added api Issue related to the REST API feature New feature or request labels Apr 3, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-e2e:pr-7132 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api-test:pr-7132 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api:pr-7132 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-7132 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-7132 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-frontend:pr-7132 Finished ✅ Results

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.26%. Comparing base (7f8e104) to head (865f3e5).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7132      +/-   ##
==========================================
- Coverage   98.34%   98.26%   -0.09%     
==========================================
  Files        1336     1336              
  Lines       50128    49966     -162     
==========================================
- Hits        49298    49098     -200     
- Misses        830      868      +38     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  10 passed

Details

stats  10 tests across 7 suites
duration  24.6 seconds
commit  865f3e5
info  🔄 Run: #15711 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  10 passed

Details

stats  10 tests across 7 suites
duration  46.9 seconds
commit  865f3e5
info  🔄 Run: #15711 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-16)

passed  2 passed

Details

stats  2 tests across 2 suites
duration  47.7 seconds
commit  865f3e5
info  🔄 Run: #15711 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)

passed  2 passed

Details

stats  2 tests across 2 suites
duration  1 minute, 6 seconds
commit  865f3e5
info  🔄 Run: #15711 (attempt 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Issue related to the REST API feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants