Write message to Sentry.
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 | - |
The DSN tells the SDK where to send the events to.
specify the environment
specify the release
the cache dir path for caching offline events
if loading properties from external sources is enabled.
The max cache items for capping the number of events Default is 30
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
Max queue size before flushing events/envelopes to the disk
Sink plugin common parameters, please refer to Sink Common Options for details
Sentry {
dsn = "https://[email protected]:9999/6"
enableExternalConfiguration = true
maxCacheItems = 1000
env = prod
}
- Add Sentry Sink Connector