Title: Add an option to enable keepalive · Issue #2837 · getsentry/sentry-python · GitHub
Open Graph Title: Add an option to enable keepalive · Issue #2837 · getsentry/sentry-python
X Title: Add an option to enable keepalive · Issue #2837 · getsentry/sentry-python
Description: Problem Statement In case folks are experiencing network issues between the SDK and Sentry, we in general recommend tweaking socket_options directly with a predefined set of settings. This seems to alleviate the issue most of the time, b...
Open Graph Description: Problem Statement In case folks are experiencing network issues between the SDK and Sentry, we in general recommend tweaking socket_options directly with a predefined set of settings. This seems to...
X Description: Problem Statement In case folks are experiencing network issues between the SDK and Sentry, we in general recommend tweaking socket_options directly with a predefined set of settings. This seems to...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/2837
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add an option to enable keepalive","articleBody":"### Problem Statement\n\nIn case folks are experiencing network issues between the SDK and Sentry, we in general recommend tweaking `socket_options` directly with a predefined set of settings. This seems to alleviate the issue most of the time, but feels rather low-level and hacky.\n\n### Solution Brainstorm\n\nNode has a separate [`keepAlive` transport option](https://docs.sentry.io/platforms/node/configuration/options/#transport-options). We could do something similar for the Python SDK; maybe a top-level `enable_keepalive` (or `enable_keep_alive`?) option that sets the socket option to [what we usually recommend](https://github.com/getsentry/sentry-python/releases/tag/1.41.0), while keeping the `socket_options` around as well for users who need more control over things.\r\n\r\nMake sure to also call this new option out in the docs (especially in the Crons part since crons seem to be often affected).","author":{"url":"https://github.com/sentrivana","@type":"Person","name":"sentrivana"},"datePublished":"2024-03-18T11:59:11Z","url":"https://github.com/getsentry/sentry-python/issues/2837"}
| 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:6ec4a3a1-76a1-2489-9591-ca2e049e28a7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA7E:2FA100:43BF03:5DC836:6B009034 |
| html-safe-nonce | 52f517c3650f01b98829bc4b95cf901c7e522de0d2f6ef4c40d1dabe25c93a66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTdFOjJGQTEwMDo0M0JGMDM6NURDODM2OjZCMDA5MDM0IiwidmlzaXRvcl9pZCI6Ijg2OTExMzc4MTQ0Mjg5NDY0ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9a6317b3d93e85da57165fd751f4751009a0a831cd0a7dfab8154fc7340b3109 |
| hovercard-subject-tag | issue:2192009604 |
| 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-python/2837/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d55bc3034c25f9a52686f077149d36b859085d7d61f9fab2a969e55ed3057f87/getsentry/sentry-python/issues/2837 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d55bc3034c25f9a52686f077149d36b859085d7d61f9fab2a969e55ed3057f87/getsentry/sentry-python/issues/2837 |
| og:image:alt | Problem Statement In case folks are experiencing network issues between the SDK and Sentry, we in general recommend tweaking socket_options directly with a predefined set of settings. This seems to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sentrivana |
| hostname | github.com |
| expected-hostname | github.com |
| None | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| 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 | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width