package
0.0.0-20240906124643-5ce5b849629e
Repository: https://github.com/mikeydub/go-gallery.git
Documentation: pkg.go.dev
# Functions
NewSentryHubContext returns a copy of the parent context with an instance of its hub attached.
NewSentryHubGinContext returns a new Gin context with a cloned hub of the original context's hub.
RecoverAndRaise reports the panic to Sentry then re-raises it.
ReportError reports an error with optional scope functions to add additional context.
ReportRemappedError reports an error with additional context indicating the original error and the remapped error.
No description provided by the author
SentryHubFromContext gets a Hub from the supplied context, or from an underlying gin.Context if one is available.
No description provided by the author
SpanFilterEventProcessor applies a progressive filter to spans, removing the shortest spans until the total span count is less than the specified maxSpans value.
TransactionNameSafe sets the name for the current transaction if a name is not already set.
No description provided by the author
UpdateLogErrorEvent updates the outgoing event with data from the logged error.
# Variables
SentryLoggerHook forwards log entries to Sentry.