Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.46 KB

telemetrySentry.md

File metadata and controls

49 lines (34 loc) · 1.46 KB

telemetrySentry

Kind: global class

telemetry.init(options)

Initialize Sentry

Kind: instance method of telemetrySentry

Param Type Description
options Sentry.NodeOptions sentry options

telemetry.notify(jobData, error)

Send errors and notifications to sentry

Kind: instance method of telemetrySentry

Param Type Description
jobData object
jobData.domain string notification domain ('developer' or 'builder')
jobData.error string serrialized error
jobData.info object
jobData.callStack string
error Error the origianl error

telemetry.setContext(key, data)

Provide additional context to Sentry

Kind: instance method of telemetrySentry

Param Type Description
key string type of context (tags, user, or any other)
data object