Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java SDK v8 onboarding #82994

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Java SDK v8 onboarding #82994

wants to merge 3 commits into from

Conversation

adinauer
Copy link
Member

@adinauer adinauer commented Jan 7, 2025

Use sentry-opentelemetry-agent for Java SDK v8 onboarding.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@adinauer adinauer requested a review from a team as a code owner January 7, 2025 07:23
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 7, 2025
Copy link

codecov bot commented Jan 7, 2025

Bundle Report

Changes will increase total bundle size by 12.04kB (0.04%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
app-webpack-bundle-array-push 32.21MB 12.04kB (0.04%) ⬆️

Copy link
Member

@priscilawebdev priscilawebdev left a comment

Choose a reason for hiding this comment

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

I’ve left some feedback, but nothing is a blocker. Overall, it looks good to me!

Comment on lines 57 to 64
{
label: t('Combine Sentry with OpenTelemetry'),
value: YesNo.YES,
},
{
label: t('Do not use OpenTelemetry'),
value: YesNo.NO,
},
Copy link
Member

Choose a reason for hiding this comment

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

I feel like the description is a bit too long. Maybe we could simplify it to just "With OpenTelemetry" and "Without OpenTelemetry"? Also, it might make sense to use a checkbox like we do for the products, though I understand this isn't a product like "Tracing" or "Errors."

image

Copy link
Member

Choose a reason for hiding this comment

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

It is not visible what the options are on smaller view ports:

image

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks @priscilawebdev, I wasn't sure how to add another checkbox, so I did it this way for now. Happy to improve it if you can point me in the right direction.

Copy link
Member

Choose a reason for hiding this comment

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

I reflected on this, and since the checkboxes are only for product selection (e.g., Tracing), it's important to avoid confusing users. We should keep what you've implemented, as it’s similar to what we have for "Loader Script." However, the labels can definitely be shorter. How about these options?

  • Use OpenTelemetry – No OpenTelemetry
  • With OpenTelemetry – Without OpenTelemetry
  • With OTel – Without OTel (supposing people are familiar with this abbreviation)

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, I updated the labels to "With/Without OpenTelemetry".

@adinauer
Copy link
Member Author

adinauer commented Jan 8, 2025

Converting this to a draft, because we only want to merge this PR once v8 of the Java SDK has been released.

@adinauer adinauer marked this pull request as draft January 8, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants