The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.17.0.
This release contains a new BeforeSendTransaction hook option and corrects two regressions introduced in 0.16.0.
Features
Add BeforeSendTransaction hook to ClientOptions (#517)
Here's an example of how BeforeSendTransaction can be used to modify or drop transaction events.
Bug Fixes
Do not crash in Span.Finish() when the Client is empty #520
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.17.0.
This release contains a new BeforeSendTransaction hook option and corrects two regressions introduced in 0.16.0.
Features
Add BeforeSendTransaction hook to ClientOptions (#517)
Here's an example of how BeforeSendTransaction can be used to modify or drop transaction events.
Bug Fixes
Do not crash in Span.Finish() when the Client is empty #520
This removes an indirect dependency to github.com/golang-jwt/jwt
0.16.0
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.16.0.
Due to ongoing work towards a stable API for v1.0.0, we sadly had to include two breaking changes in this release.
Breaking Changes
Add EnableTracing, a boolean option flag to enable performance monitoring (false by default).
If you're using TracesSampleRate or TracesSampler, this option is required to enable performance monitoring.
TracesSampler was changed to a callback that must return a float64 between 0.0 and 1.0.
For example, you can apply a sample rate of 1.0 (100%) to all /api transactions, and a sample rate of 0.5 (50%) to all other transactions.
You can read more about this in our SDK docs.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/getsentry/sentry-go from 0.10.0 to 0.17.0.
Release notes
Sourced from github.com/getsentry/sentry-go's releases.
... (truncated)
Changelog
Sourced from github.com/getsentry/sentry-go's changelog.
... (truncated)
Commits
a929b08
release: 0.17.03037957
doc: Prepare 0.17.0 (#528)231e816
feat: When ClientOptions.SendDefaultPii is false, send http headers without s...932dcf0
feat: Add BeforeSendTransaction hook (#517)3c8662b
fix(dynamic-sampling): Do not crash in Span.Finish() when Client is empty (#520)e081f7e
ref: Rename example/ directory to _examples/ (#521)6588be3
fix: Use "example.com" host in example/test DSNs (#519)84f883b
dev: Add Makefile with common commands (#516)ba1d20b
Update README.md (#515)90e63f2
Add docs on how to handle logrus.Fatalf events (#501)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)