@ConfigRoot(phase=RUN_TIME, name="log.sentry") public class SentryConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
debug
Debug
Enables Sentry debug mode.
|
Optional<String> |
dsn
Sentry DSN
The DSN is the first and most important thing to configure because it tells the SDK where to send events.
|
(package private) boolean |
enable
Determine whether to enable the Sentry logging extension.
|
Optional<String> |
environment
Environment
With Sentry you can easily filter issues, releases, and user feedback by environment.
|
Optional<List<String>> |
inAppPackages
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.
|
Level |
level
The sentry log level.
|
Level |
minimumBreadcrumbLevel
The minimum breadcrumb level.
|
Level |
minimumEventLevel
The minimum event level.
|
Optional<String> |
release
Release
A release is a version of your code that is deployed to an environment.
|
Optional<String> |
serverName
Server name
Sets the server name that will be sent with each event.
|
| Constructor and Description |
|---|
SentryConfig() |
@ConfigItem(name="<<parent>>") boolean enable
@ConfigItem public Optional<String> dsn
@ConfigItem(defaultValue="WARN") public Level level
@ConfigItem(defaultValue="WARN") public Level minimumEventLevel
@ConfigItem(defaultValue="INFO") public Level minimumBreadcrumbLevel
@ConfigItem public Optional<List<String>> inAppPackages
@ConfigItem public Optional<String> environment
@ConfigItem public Optional<String> release
@ConfigItem public Optional<String> serverName
@ConfigItem(defaultValue="false") public boolean debug
Copyright © 2021 JBoss by Red Hat. All rights reserved.