Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HubCustomFingerprint ¶
func HubCustomFingerprint(hub *sentry.Hub) *sentry.Hub
func NormalizeUrlPathForSentry ¶
NormalizeUrlPathForSentry takes a url path string and replaces any path part that contains a number with a standard placeholder value. This allows for better error grouping at Sentry for urls that may contain dynamic values (UUID for example) but are basically the same URL in general
func SentryFingerprint ¶
func SentryFingerprint(event *sentry.Event, hint *sentry.EventHint) *sentry.Event
group on the url and the beginning of the body. The same url can have different errors: thus looking at the response body. the longer the body is, the more likely it is to contain variable So for now try looking at a beginning snippet of the body. The URL is normalized so that any path part with a number is replaced by a placeholder value
Types ¶
type LogSentrySendFailures ¶
type LogSentrySendFailures struct { RT http.RoundTripper Logger *zap.SugaredLogger }
type SentryError500 ¶
func (SentryError500) Error ¶
func (e500 SentryError500) Error() string
Click to show internal directories.
Click to hide internal directories.