Skip to main content
Version: 2.3.1

Sentry

Description

Write message to Sentry.

Key features

Options

nametyperequireddefault value
dsnstringyes-
envstringno-
releasestringno-
cacheDirPathstringno-
enableExternalConfigurationbooleanno-
maxCacheItemsnumberno-
flushTimeoutMillsnumberno-
maxQueueSizenumberno-
common-optionsno-

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