Title: Make Access Modifier For Transaction.UpdateStartDate Public · Issue #3639 · getsentry/sentry-java · GitHub
Open Graph Title: Make Access Modifier For Transaction.UpdateStartDate Public · Issue #3639 · getsentry/sentry-java
X Title: Make Access Modifier For Transaction.UpdateStartDate Public · Issue #3639 · getsentry/sentry-java
Description: Problem Statement In some rare cases we aren't ready to use sentry yet but would like to start a trace. Updating end date is enough right now, can still construct whatever length we want though it would be nice to be able to set the star...
Open Graph Description: Problem Statement In some rare cases we aren't ready to use sentry yet but would like to start a trace. Updating end date is enough right now, can still construct whatever length we want though it ...
X Description: Problem Statement In some rare cases we aren't ready to use sentry yet but would like to start a trace. Updating end date is enough right now, can still construct whatever length we want though...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/3639
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make Access Modifier For Transaction.UpdateStartDate Public ","articleBody":"### Problem Statement\n\nIn some rare cases we aren't ready to use sentry yet but would like to start a trace. Updating end date is enough right now, can still construct whatever length we want though it would be nice to be able to set the start/end to the actual times something happened.\n\nSpecifically, this is in regards to overriding the duration value of an event. In particular, overriding the duration value for a custom Performance Span.\n\n### Solution Brainstorm\n\nIt seems like the change here should be fairly easy. Just change the access modifier to public from private like it is set for updateEndDate.\n\nHere are the relevant lines in the SDK that I found that would need to be looked at/changed:\n \nhttps://github.com/getsentry/sentry-java/blob/9762f09afa51944b40a9b77e116a55e54636e6c5/sentry/src/main/java/io/sentry/Span.java#L393\n\nhttps://github.com/getsentry/sentry-java/blob/9762f09afa51944b40a9b77e116a55e54636e6c5/sentry/src/main/java/io/sentry/Span.java#L420\n\n┆Issue is synchronized with this [Jira Improvement](https://getsentry.atlassian.net/browse/FEEDBACK-2254) by [Unito](https://www.unito.io)\n","author":{"url":"https://github.com/sentryadam0000345","@type":"Person","name":"sentryadam0000345"},"datePublished":"2024-08-14T21:48:27Z","url":"https://github.com/getsentry/sentry-java/issues/3639"}
| 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:73772963-aca2-eb94-d58a-ab2826c50698 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3F0:2D0B15:165A15:1EC544:6B04658B |
| html-safe-nonce | 5616043bb5733a4b753c84709443598d662f2e72c05a8e4faa0d61afd4aebc03 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0YwOjJEMEIxNToxNjVBMTU6MUVDNTQ0OjZCMDQ2NThCIiwidmlzaXRvcl9pZCI6IjU5OTI3NjcwOTY4MTAxMzY5NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7a3072ecb8d6e1ae65cfb43faa871bf2152e71b8f51e8d401e86244777489462 |
| hovercard-subject-tag | issue:2466897486 |
| 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/3639/issue_layout |
| twitter:image | https://opengraph.githubassets.com/baf7bcbd85dbe794df337e3fd42134d35947001569b7e241fbb3029331fa1b6f/getsentry/sentry-java/issues/3639 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/baf7bcbd85dbe794df337e3fd42134d35947001569b7e241fbb3029331fa1b6f/getsentry/sentry-java/issues/3639 |
| og:image:alt | Problem Statement In some rare cases we aren't ready to use sentry yet but would like to start a trace. Updating end date is enough right now, can still construct whatever length we want though it ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sentryadam0000345 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| 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 | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| 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