-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update Java SDK docs to 3.0 #2239
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
Update Java SDK docs to 3.0 #2239
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/sentry/sentry-docs/6rcol1kr8/sentry.dev |
|
Maybe worth hidding the generic breadcrumbs doc too: https://sentry-docs-git-fork-maciejwalkowiak-sentry-java-30.sentry.dev/platforms/java/enriching-events/breadcrumbs/ Since Java has its own. Right now 2 breadcrumbs items show on the list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested some improvements.
But it LGTM.
We can merge, release the SDK and iterate improving things.
Co-authored-by: Bruno Garcia <[email protected]>
| ``` | ||
|
|
||
| ```kotlin {tabTitle:Kotlin} | ||
| import io.sentry.SentryOptions.BeforeBreadcrumbCallback |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this? its not using it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| Option names in the DSN exactly match the examples given below. For example, to enable sampling if you are setting your DSN via the environment: | ||
|
|
||
| ```bash | ||
| SENTRY_DSN={DSN}/1?sample.rate=0.75 java -jar app.jar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| SENTRY_DSN={DSN}/1?sample.rate=0.75 java -jar app.jar | |
| SENTRY_DSN=___PUBLIC_DSN___/1?sample.rate=0.75 java -jar app.jar |
Co-authored-by: Manoel Aranda Neto <[email protected]>
|
Let's merge and iterate over this?! |
Co-authored-by: Fiona <[email protected]> Co-authored-by: Bruno Garcia <[email protected]> Co-authored-by: Manoel Aranda Neto <[email protected]>
Co-authored-by: Fiona <[email protected]> Co-authored-by: Bruno Garcia <[email protected]> Co-authored-by: Manoel Aranda Neto <[email protected]>

Documentation and guides for Java SDK 3.0