-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update docs to use Hint object #5062
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
e5aef8a
Update docs to use Hint object
adinauer 6e621e8
Revert migration guide changes
adinauer 86cb4ad
Merge branch 'master' into feat/update-hints-docs
adinauer 197422e
Change import for Hint
adinauer 0852e8f
Document how to manipulate attachments via hints (#5070)
adinauer 474a99e
ref(frontend): Bump JS SDK to 7.0 beta 2 (#5064)
lobsterkatie 3c64c02
Fix manifest code snippet tag (#5069)
marandaneto 71fdf96
fix: typos in Unity troubleshooting (#5060)
vaind 7e069d6
Typo fix (#5059)
akauppi a8f546d
fix references to source maps and time range change example (#5051)
imatwawana c55950b
Fix typo in query builder docs (#5072)
arusahni 8113e01
updated banner (#5067)
dorothymlee 5f6b8ef
docs(js): Add sourcemaps explain to source maps troubleshooting guide…
kamilogorek 75308d2
feat(discover): extend list of stacking functions (#5074)
wmak b545990
chore: bump Sentry SDK to 7.0.0-rc.0 (#5077)
vladanpaunovic 143c5b2
chore(billing): GA on-demand budget for all performance plans (#5075)
dashed c935912
fix(alerts): Remove duplicate alert rules section (#5080)
taylangocmen 3b9c06c
feat(visibility): Add a note about apdex score (#5081)
wmak d84beb4
feat(unity): Added Screenshot to Verify (#5031)
bitsandfoxes a3ce6a6
Add instructions to tree shake tracing code in JS SDK (#5086)
lforst af6ece1
Add docs for new attachments API (#5073)
timfish a1404ed
Add React Router v6 instrumentation docs. (#5037)
onurtemizkan 40b0563
Remove `ignoreSentryErrors` section in JS docs (#5036)
lforst ecdd14a
Update ExtraErrorData depth description (#5021)
lforst 63fb307
feat(angular): Update Angular docs for v7 release (#4963)
Lms24 727915b
Adjust JS CDN bundle page to reflect ES5/ES6 naming changes (#4962)
lforst 23cc774
ref(js): change migration guide URLs from v7 branch to master (#5087)
Lms24 4f47cc4
Adust docs for dealing with baggage headers (CORS and meta tags) (#5061)
Lms24 ebc0790
Add tree shaking guide for default integrations (#4996)
Lms24 9088693
Replace deprecated severity enums with string literals (#4940)
lforst d221127
getsentry/relay@8fcff0b580ab5bbe58f81bf3b4d4a4a923180e90
jjbayer d6f0151
Adust docs after renaming `UserAgent` integration to `HttpContext` (#…
Lms24 5d6b7ca
Add Prisma ORM Integration Docs. (#4961)
onurtemizkan f87b8cf
chore: bump Sentry SDK to 7.0.0 (#5088)
lforst 6c0867a
ref(native): capture-error using high-level API. (#5085)
supervacuus 9898580
feat(widget-builder): Add GA documentation - (#5065)
priscilawebdev 221bd03
Add SampleRate code sample for go (#5090)
sl0thentr0py 22f62a0
fix(android): Typo for UI transactions (#5096)
philipphofmann 6bd3fe4
ref(js): Add note about old name of HttpContext integration (#5099)
Lms24 0afaee8
ref(js): Add baggage intormation to automatic instrumentation page (#…
Lms24 80c6cb0
feat(apple): User interaction instrumentation (#5098)
philipphofmann b6d1488
dotnet performance clarify GetSpan (#5078)
souredoutlook a0b422e
chore(unity): Fixed typo (#5050)
bitsandfoxes 7086e14
docs: add explanation regarding appcenter token (#5063)
jeremybarbet eaf4e1f
ref(integration-platform): Add URI formatting guidelines to docs (#5103)
leeandher a390fb2
improve enable suspect commits content (#5094)
imatwawana e20071a
feat(alerts): Restore duplciate alert rule docs (#5111)
taylangocmen 118036f
feat(integrations): Direct users to the reference implementation (#5053)
leeandher 7fbcf4c
getsentry/relay@acb94fa552036e598b28457d8b5c3d4489d9a961
jjbayer 8f3b623
ref(android): Simplify UI transaction code sample (#5097)
philipphofmann 8feace8
feat(unity): Added additional platforms to native support (#5109)
bitsandfoxes 5cddf6e
feat(apple): Add UI instrumentation to wizard (#5100)
philipphofmann 96c849f
Refactor Ionic/Capacitor/Cordova Wizards (#5093)
lucas-zimerman 1fc0e48
fix(quotas): Clarify filters application scope (#5102)
iker-barriocanal 0f49099
feat(api): Update the bump script since CI doesn't run it (#5115)
wmak a181ff3
chore(api): bump api sha with events doc (#5116)
wmak 3f290d4
Add metric alert slack example with new chart (#5113)
scttcper 4c854c2
Change migration guide for hints (#5068)
adinauer 27f4bbe
Add discontinuation of AngularJS 1.x (#5123)
lforst ef27279
feat(docs): Document flutter autoInitializeNativeSdk (#5029)
denrase 9f42fd7
chore(unity): Updated troubleshooting for 2022 (#5122)
bitsandfoxes 4a38cf2
ref(native): Clarify before_send with Crashpad (#5092)
supervacuus 2067a09
getsentry/relay@d8f887a595a3ee7c78c16d4513ab86242c859f50
jjbayer 796748d
docs(dashboards): Releases in Dashboards (#5083)
shruthilayaj 137a5e5
fix transaction quota management content (#5114)
imatwawana 327d973
feat(alerts): Alert wizard v3 alert config docs (#5107)
taylangocmen 92405ba
hid banner (#5127)
dorothymlee 99f2eed
feat(android): App permissions in App Context (#5038)
romtsn 3fe2c38
Merge branch 'master' into feat/update-hints-docs
adinauer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,13 +25,14 @@ public class MyClass { | |
| ```kotlin {tabTitle:Kotlin} | ||
| import io.sentry.Sentry | ||
| import io.sentry.SentryOptions.BeforeSendCallback | ||
| import io.sentry.hints.Hint | ||
|
|
||
| fun main() { | ||
| Sentry.init { options -> | ||
| // your Sentry project/dashboard | ||
| options.dsn = "___PUBLIC_DSN___" | ||
| options.release = "[email protected]+1" | ||
| options.beforeSend = BeforeSendCallback { event: SentryEvent, hint: Any? -> | ||
| options.beforeSend = BeforeSendCallback { event: SentryEvent, hint: Hint -> | ||
| // Drop an event altogether: | ||
| if (event.getTag("SomeTag") != null) { | ||
| null | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.