diff --git a/src/platforms/go/common/configuration/options.mdx b/src/platforms/go/common/configuration/options.mdx index 6d8c57a653006..05c636e5c18b3 100644 --- a/src/platforms/go/common/configuration/options.mdx +++ b/src/platforms/go/common/configuration/options.mdx @@ -43,8 +43,10 @@ type ClientOptions struct { SendDefaultPII bool // BeforeSend is called before error events are sent to Sentry. // Use it to mutate the event or return nil to discard the event. - // See EventProcessor if you need to mutate transactions. BeforeSend func(event *Event, hint *EventHint) *Event + // BeforeSendTransaction is called before transaction events are sent to Sentry. + // Use it to mutate the transaction or return nil to discard the transaction. + BeforeSendTransaction func(event *Event, hint *EventHint) *Event // Before breadcrumb add callback. BeforeBreadcrumb func(breadcrumb *Breadcrumb, hint *BreadcrumbHint) *Breadcrumb // Integrations to be installed on the current Client, receives default