Title: Evaluate which experimental APIs to promote in v9 · Issue #6408 · getsentry/sentry-java · GitHub
Open Graph Title: Evaluate which experimental APIs to promote in v9 · Issue #6408 · getsentry/sentry-java
X Title: Evaluate which experimental APIs to promote in v9 · Issue #6408 · getsentry/sentry-java
Description: Description For v9, go through everything still annotated @ApiStatus.Experimental in production sources. For each item, decide whether to promote it (drop the annotation), keep it experimental, make it @ApiStatus.Internal, or remove it. ...
Open Graph Description: Description For v9, go through everything still annotated @ApiStatus.Experimental in production sources. For each item, decide whether to promote it (drop the annotation), keep it experimental, mak...
X Description: Description For v9, go through everything still annotated @ApiStatus.Experimental in production sources. For each item, decide whether to promote it (drop the annotation), keep it experimental, mak...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/6408
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Evaluate which experimental APIs to promote in v9","articleBody":"### Description\n\nFor v9, go through everything still annotated `@ApiStatus.Experimental` in production sources. For each item, decide whether to **promote** it (drop the annotation), **keep** it experimental, **make it `@ApiStatus.Internal`**, or **remove** it. A major release is the cheapest time to make the breaking cases (rename/remove/internalize).\n\nInventory taken from `main` @ `4bf0a82`: 132 `@ApiStatus.Experimental` usages outside tests. Getters and setters are merged below. Items that are already also `@Internal` are left out (`SentryOtelThreadLocalStorage`, `NoOpDistributionApi`, `CompositeModulesLoader`, `ManifestModulesLoader`).\n\nRecommendations below are based on API age/maturity and open issues in this repo (linked inline). Additional internal stability data is tracked on the linked Linear issue.\n\n### Recommendation: promote in v9\n\n| API | Evidence |\n|---|---|\n| Check-in leftovers: `captureCheckIn` on `HubAdapter`/`ScopesAdapter`/`NoOpScopes`, `CheckInUtils`, `SentryOptions.cron`, `ignoredCheckIns`, Spring `SentryQuartzConfiguration` + `SentrySchedulerFactoryBeanCustomizer` (spring, jakarta, spring-7), `SentryJobListener` (quartz) | Already decided in #4673 (closed as completed), but these annotations were missed. |\n| `SentryOptions`/`ExternalOptions`: `enableSpotlight`, `spotlightConnectionUrl` | Dev-only tooling. #3981 (init without DSN) is an improvement and doesn't block promotion. |\n| `SentryOptions`/`ExternalOptions`: `enableBackpressureHandling` (+ `backpressureMonitor`) | Long-standing core feature; no open issues. |\n| `SentryOptions.logs` (`getLogs`/`setLogs`), `SentryClient.captureLog`, `SentryClient.captureMetric` | Logs and metrics are GA product features. |\n| `Sentry.startProfiler()` / `stopProfiler()` | Continuous profiling entry points; no open issues. |\n| `ignoredSpanOrigins`, `ignoredTransactions` (`set`/`add`), `maxSpans`, `enableScreenTracking`, `fatalLogger` | Simple config knobs; no open issues. |\n| `SentryCoroutineExceptionHandler` (kotlin-extensions) | No open issues. |\n| Spring WebFlux (`SentryWebFilter`, `AbstractSentryWebFilter`, `SentryWebFilterWithThreadLocalAccessor`, `SentryWebExceptionHandler`, `SentryScheduleHook`, `SentryRequestResolver`) + Boot `SentryWebfluxAutoConfiguration` | Years old and widely used. **Blocked on #6248** (open `SentryScheduleHook` memory leak); promote once that's fixed. |\n\n### Recommendation: make `@Internal` instead of promoting\n\n- `Baggage`, `BaggageHeader`, `TraceContext`, `ISpan.traceContext()`, `ISpan.toBaggageHeader(...)`: plumbing used by integrations and hybrid SDKs, and not really user API.\n- `RequestDetailsResolver`, `IScopesStorageFactory` / `SentryOptions.scopesStorageFactory`: extension points for our own modules (OTel, etc.).\n\n### Recommendation: decide remove vs. promote\n\n- `SentryOptions.traceSampling`: Javadoc says \"experimental API and will be removed without notice\". v9 is the time to either drop it (always on) or commit to it.\n- `ExternalOptions.globalHubMode`: only the getter is experimental; align it with the `SentryOptions` counterpart.\n- `ExperimentalOptions` / `options.getExperimental()`: currently empty. Keep it as the landing spot for future experiments, or remove it.\n\n### Recommendation: keep experimental\n\n| API | Why |\n|---|---|\n| `SentryReplayOptions.screenshotStrategy` / `ScreenshotStrategyType` (Canvas) | #5317 (incorrect Canvas replay) is open. #5374 notes usage numbers aren't great and custom masking is missing. |\n| `SentryReplayOptions.captureSurfaceViews`, `frameObserver` / `ReplayFrameObserver` | New; no adoption signal yet. |\n| `SentryAndroidOptions.enableNdkAppHangTracking`, `ndkAppHangTimeoutIntervalMillis` | New; little real-world mileage yet. |\n| `SentryAndroidOptions.memoryLimiterEnabled`, `reportHistoricalMemoryLimiterExits` | #6134 (handle `REASON_MEMORY_LIMITER`) is still open. |\n| `sentry-android-navigation3` (`SentryNavEffect`, `SentryNavOptions`, `BackStackEntryMapper`, `SentryBackStackEntry`) | Shape may change with SAGP auto-instrumentation (#6349). |\n| App distribution: `DistributionIntegration`, `IDistributionApi`, `UpdateInfo`, `UpdateStatus`, `SentryOptions.distribution`/`DistributionOptions`/`distributionController` | New; no adoption signal yet. |\n| `SentryKafkaProducer`, `SentryKafkaConsumerTracing`, `SentryJCacheWrapper` | New server integrations. Needs usage data before promoting. |\n| Spring Boot `keepTransactionsOpenForAsyncResponses` | No signal either way; check with the Spring owners. |\n\n### Already tracked for 9.0.0\n\n- `enableStandaloneAppStartTracing`: #5376 plans to make it the default or drop the flag. Promote or remove it as part of that change.\n\n\u003c!-- junior-request-attribution:start -->\nvia **roman**.\n\u003c!-- junior-request-attribution:end -->\n\n\u003c!-- junior-session-footer:start -->\n\u003c!-- junior-conversation-id:slack%3AC0B7S4MRH32%3A1793192947.552929 -->\n\n--\n\n[View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC0B7S4MRH32%3A1793192947.552929) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0B7S4MRH32%3A1793192947.552929/?project=4510944073809921)\n\n\u003c!-- junior-session-footer:end -->","author":{"url":"https://github.com/apps/sentry-junior","@type":"Person","name":"sentry-junior"},"datePublished":"2026-10-28T14:07:02Z","url":"https://github.com/getsentry/sentry-java/issues/6408"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:498edbdc-a5c0-035d-f650-2174533c066d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1B6:1F98:28C26EF:3660A43:6B0451BD |
| html-safe-nonce | 76079ef638a3eb679c1b3094dbf121ea89d580f1f2e699c6e0e21471be6c2fae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUI2OjFGOTg6MjhDMjZFRjozNjYwQTQzOjZCMDQ1MUJEIiwidmlzaXRvcl9pZCI6IjU3Mjg5MDgwOTE2NzI3NzcxNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7302370670754a0105f8c5c2dea8ad5f41aed5931926db08f68441ffed04b5fd |
| hovercard-subject-tag | issue:6080592850 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/6408/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f30d74d3d365215c763e54919902943ce1b955e2817a6c963220d51b4a2a611b/getsentry/sentry-java/issues/6408 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f30d74d3d365215c763e54919902943ce1b955e2817a6c963220d51b4a2a611b/getsentry/sentry-java/issues/6408 |
| og:image:alt | Description For v9, go through everything still annotated @ApiStatus.Experimental in production sources. For each item, decide whether to promote it (drop the annotation), keep it experimental, mak... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sentry-junior[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e086f9b7e88322eb2b41885a6ad425b215737fa5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width