You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of this ticket is to set up the foundation for sending events to Sentry and start reporting connector failures encountered during connection sync jobs.
Implementation
JobErrorReporter:
Following existing patterns set by JobTracker and JobNotifier, a new JobErrorReporter class can be created to handle reporting an error.
JobErrorReporter: gather related metadata and process the FailureSummary.
ErrorReportingClient: interface for reporting a FailureReason+metadata to an error tracking service.
SentryErrorReportingClient: uses the Sentry SDK to build a SentryEvent based on the FailureReason and sends it to sentry.
Send source and destination failures to sentry
Using the above, report sync job failures for FailureReasons that originate from source or destination. This can be called from the existing JobCreationAndStatusUpdateActivity.jobFailure method that's currently being used to report these to Segment:
To feed stack traces into Sentry's grouping algorithm and enhance Sentry's ability to group errors, we can do some processing on stack trace strings to pull out frame attributes. Because this is language dependent, parsing these stack traces should be done on a "best-effort" basis. If we find something we can't parse or an unsupported language, it's ok - we'll fall back to the message-based grouping.
The text was updated successfully, but these errors were encountered:
More details in the spec: https://docs.google.com/document/d/1grrkxdvgAzjYiwG02gwo1JdAEc6pGHJLtJFsfRexR4I/edit#
Demo PR: #13727
The goal of this ticket is to set up the foundation for sending events to Sentry and start reporting connector failures encountered during connection sync jobs.
Implementation
JobErrorReporter:
Following existing patterns set by
JobTracker
andJobNotifier
, a newJobErrorReporter
class can be created to handle reporting an error.Send source and destination failures to sentry
Using the above, report sync job failures for FailureReasons that originate from
source
ordestination
. This can be called from the existingJobCreationAndStatusUpdateActivity.jobFailure
method that's currently being used to report these to Segment:airbyte/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/activities/JobCreationAndStatusUpdateActivityImpl.java
Lines 193 to 204 in fc5ba66
Building Sentry Events
connector_docker_image@tag
To feed stack traces into Sentry's grouping algorithm and enhance Sentry's ability to group errors, we can do some processing on stack trace strings to pull out frame attributes. Because this is language dependent, parsing these stack traces should be done on a "best-effort" basis. If we find something we can't parse or an unsupported language, it's ok - we'll fall back to the message-based grouping.
The text was updated successfully, but these errors were encountered: