Sentry
Descriptionâ
Write message to Sentry.
Key featuresâ
Optionsâ
name | type | required | default value |
---|---|---|---|
dsn | string | yes | - |
env | string | no | - |
release | string | no | - |
cacheDirPath | string | no | - |
enableExternalConfiguration | boolean | no | - |
maxCacheItems | number | no | - |
flushTimeoutMills | number | no | - |
maxQueueSize | number | no | - |
common-options | no | - |
dsn [string]â
The DSN tells the SDK where to send the events to.
env [string]â
specify the environment
release [string]â
specify the release
cacheDirPath [string]â
the cache dir path for caching offline events
enableExternalConfiguration [boolean]â
if loading properties from external sources is enabled.
maxCacheItems [number]â
The max cache items for capping the number of events Default is 30
flushTimeoutMillis [number]â
Controls how many seconds to wait before flushing down. Sentry SDKs cache events from a background queue and this queue is given a certain amount to drain pending events Default is 15000 = 15s
maxQueueSize [number]â
Max queue size before flushing events/envelopes to the disk
common optionsâ
Sink plugin common parameters, please refer to Sink Common Options for details
Exampleâ
Sentry {
dsn = "https://xxx@sentry.xxx.com:9999/6"
enableExternalConfiguration = true
maxCacheItems = 1000
env = prod
}
Changelogâ
2.2.0-beta 2022-09-26â
- Add Sentry Sink Connector