Skip to content
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

Bump github.com/getsentry/sentry-go from 0.15.0 to 0.16.0 #973

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2022

Bumps github.com/getsentry/sentry-go from 0.15.0 to 0.16.0.

Changelog

Sourced from github.com/getsentry/sentry-go's changelog.

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.

      sentry.Init(sentry.ClientOptions{
          EnableTracing: true,
          TracesSampleRate: 1.0,
      })
  • Unify TracesSampler #498
    • 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.

      sentry.Init(sentry.ClientOptions{
          TracesSampler: sentry.TracesSampler(func(ctx sentry.SamplingContext) float64 {
               hub := sentry.GetHubFromContext(ctx.Span.Context())
               name := hub.Scope().Transaction()
           if strings.HasPrefix(name, "GET /api") {
               return 1.0
           }
       return 0.5
      
      }),
      
      }

Features

  • Send errors logged with Logrus to Sentry.
  • Add support for Dynamic Sampling #491
    • You can read more about Dynamic Sampling in our product docs.
  • Add detailed logging about the reason transactions are being dropped.
    • You can enable SDK logging via sentry.ClientOptions.Debug: true.

Bug Fixes

  • Do not clone the hub when calling StartTransaction #505
Commits

Dependabot compatibility score

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](https://github.com/getsentry/sentry-go) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases)
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-go@v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner December 12, 2022 10:07
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 12, 2022
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@dustin-decker dustin-decker merged commit 4020c40 into main Dec 12, 2022
@dustin-decker dustin-decker deleted the dependabot/go_modules/github.com/getsentry/sentry-go-0.16.0 branch December 12, 2022 18:09
javajawa added a commit to mewbotorg/mewbot that referenced this pull request Dec 26, 2022
Update trufflehog from 3.19.0 to 3.21.0.

- Bump github.com/xanzy/go-gitlab from 0.76.0 to 0.77.0 by @​dependabot in trufflesecurity/trufflehog#981
- Bump golang.org/x/crypto from 0.3.0 to 0.4.0 by @​dependabot in trufflesecurity/trufflehog#982
- Add configuration parsing and custom detectors to engine by @​mcastorina in trufflesecurity/trufflehog#968
- Add custom regex detector docs by @​mcastorina in trufflesecurity/trufflehog#983
- Remove custom log leveler by @​mcastorina in trufflesecurity/trufflehog#985
- Bump github.com/xanzy/go-gitlab from 0.74.0 to 0.76.0 by @​dependabot in trufflesecurity/trufflehog#934
- Bump github.com/bill-rich/disk-buffer-reader from v0.1.6 to v0.1.7 by @​bill-rich in trufflesecurity/trufflehog#970
- Bump go.mongodb.org/mongo-driver from 1.11.0 to 1.11.1 by @​dependabot in trufflesecurity/trufflehog#971
- Bump github.com/getsentry/sentry-go from 0.15.0 to 0.16.0 by @​dependabot in trufflesecurity/trufflehog#973
- [bug] - Handle error when scanning s3 bucket. by @​ahrav in trufflesecurity/trufflehog#969
- Bump github.com/go-git/go-git/v5 from 5.4.2 to 5.5.1 by @​dependabot in trufflesecurity/trufflehog#972
- Bump github.com/envoyproxy/protoc-gen-validate from 0.6.13 to 0.9.1 by @​dependabot in trufflesecurity/trufflehog#963
- Add more logging for git sources by @​mcastorina in trufflesecurity/trufflehog#974
- Add s3 object count to trace logs by @​bill-rich in trufflesecurity/trufflehog#975
- Implement CustomRegex detector by @​mcastorina in trufflesecurity/trufflehog#950
- Use Todoist's REST API v2 by @​goncalossilva in trufflesecurity/trufflehog#978
- Allow using a glob for include list. by @​ahrav in trufflesecurity/trufflehog#977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

None yet

2 participants