Title: Allow to disable auto-start for replays · Issue #7193 · getsentry/sentry-javascript · GitHub
Open Graph Title: Allow to disable auto-start for replays · Issue #7193 · getsentry/sentry-javascript
X Title: Allow to disable auto-start for replays · Issue #7193 · getsentry/sentry-javascript
Description: Related to #7192, it may make sense to add a config option like autoStart which can be set to false to disable auto-starting the replay. This would simplify setups where users want to manually control replay recording. Currently, you can...
Open Graph Description: Related to #7192, it may make sense to add a config option like autoStart which can be set to false to disable auto-starting the replay. This would simplify setups where users want to manually cont...
X Description: Related to #7192, it may make sense to add a config option like autoStart which can be set to false to disable auto-starting the replay. This would simplify setups where users want to manually cont...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/7193
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow to disable auto-start for replays","articleBody":"Related to https://github.com/getsentry/sentry-javascript/issues/7192, it may make sense to add a config option like `autoStart` which can be set to `false` to disable auto-starting the replay.\r\nThis would simplify setups where users want to manually control replay recording.\r\n\r\nCurrently, you can accomplish the same through some other hoops:\r\n\r\n```js\r\nreplaysSessionSampleRate: 0, \r\n replaysOnErrorSampleRate: 0,\r\n integrations: []\r\n});\r\n\r\n// Later when you want to start/stop replay, add the integration\r\nclient.addIntegration(new Replay());\r\n```\r\n\r\nHowever, this becomes tricky when users want to conditionally start/stop replays, as you need to always check if it was added yet etc.","author":{"url":"https://github.com/mydea","@type":"Person","name":"mydea"},"datePublished":"2023-02-15T12:22:37Z","url":"https://github.com/getsentry/sentry-javascript/issues/7193"}
| 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:bbbbf15a-762f-61a1-e93b-eb1f33e0ea69 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BEB0:29A85A:12716E:18B5BC:6B04B185 |
| html-safe-nonce | 3ccd279c3b7f8985877fe3b68bf20f64cf7cbd9373d69ff568b3b72358a75780 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUIwOjI5QTg1QToxMjcxNkU6MThCNUJDOjZCMDRCMTg1IiwidmlzaXRvcl9pZCI6IjQ4NzAyMTgzMDgxMzU0NjUzNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6ce2b5a32ec27d9c5b34816e740b237de9e49e34c808beb8b9705373b1208fd6 |
| hovercard-subject-tag | issue:1585766333 |
| 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-javascript/7193/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8fc16e7e9771a0e04a6f43fa4eb5c16dc396763ccea723461ff16ce7f521deff/getsentry/sentry-javascript/issues/7193 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8fc16e7e9771a0e04a6f43fa4eb5c16dc396763ccea723461ff16ce7f521deff/getsentry/sentry-javascript/issues/7193 |
| og:image:alt | Related to #7192, it may make sense to add a config option like autoStart which can be set to false to disable auto-starting the replay. This would simplify setups where users want to manually cont... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mydea |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| 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