-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle Sentry in-app-packages=* and doc
- Loading branch information
Showing
5 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -44,13 +44,30 @@ application POM as the following snippet illustrates. | |
</build> | ||
---- | ||
|
||
[id="in-app-packages"] | ||
=== “In Application” Stack Frames | ||
Sentry differentiates stack frames that are directly related to your application (“in application”) from stack frames that come from other packages such as the standard library, frameworks, or other dependencies. The difference is visible in the Sentry web interface where only the “in application” frames are displayed by default. | ||
|
||
You can configure which package prefixes your application uses with the stacktrace.app.packages option, which takes a comma separated list. | ||
[source, properties] | ||
---- | ||
quarkus.log.sentry.in-app-packages=com.mycompany,com.other.name | ||
---- | ||
If you don’t want to use this feature but want to disable the warning, simply set it to "*": | ||
|
||
[source, properties] | ||
---- | ||
quarkus.log.sentry.in-app-packages=* | ||
---- | ||
|
||
== Example | ||
|
||
.All errors and warnings occuring in any the packages will be sent to Sentry with DSN `https://[email protected]/1234` | ||
[source, properties] | ||
---- | ||
` | ||
quarkus.log.sentry=true | ||
quarkus.log.sentry.dsn=https://[email protected]/1234 | ||
quarkus.log.sentry.in-app-packages=* | ||
---- | ||
.All errors occuring in the package `org.example` will be sent to Sentry with DSN `https://[email protected]/1234` | ||
|
3 changes: 2 additions & 1 deletion
3
...logging-sentry/deployment/src/test/resources/application-sentry-logger-default.properties
This file contains 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
quarkus.log.sentry=true | ||
quarkus.log.sentry.dsn=https://[email protected]/22222 | ||
quarkus.log.sentry.dsn=https://[email protected]/22222 | ||
quarkus.log.sentry.in-app-packages=* |
This file contains 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 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 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