-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Integrations page for Go #11360
Add Integrations page for Go #11360
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Bundle ReportChanges will increase total bundle size by 171 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
Don't close this |
@ribice you can add the WIP label, with it, it will stay open. Merging this next week. |
```go | ||
sentry.Init(sentry.ClientOptions{ | ||
Dsn: "___PUBLIC_DSN___", | ||
Integrations: func(i []Integration) []Integration { | ||
return []Integration{} | ||
}, | ||
} | ||
) | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation is off.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```go | ||
sentry.Init(sentry.ClientOptions{ | ||
Integrations: func(integrations []sentry.Integration) []sentry.Integration { | ||
var filteredIntegrations []sentry.Integration | ||
for _, integration := range integrations { | ||
if integration.Name() == "ContextifyFrames" { | ||
continue | ||
} | ||
filteredIntegrations = append(filteredIntegrations, integration) | ||
} | ||
return filteredIntegrations | ||
}, | ||
}) | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation is off.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Michi Hoffmann <cleptric@users.noreply.github.com>
Co-authored-by: Michi Hoffmann <cleptric@users.noreply.github.com>
Co-authored-by: Michi Hoffmann <cleptric@users.noreply.github.com>
Resolves #6229