chore(deps): bump github.com/getsentry/sentry-go from 0.14.0 to 0.16.0 #10

Merged
argoyle merged 2 commits from dependabot-go_modules-github.com-getsentry-sentry-go-0.16.0 into main 2022-12-16 15:09:47 +00:00
argoyle commented 2022-12-16 13:33:31 +00:00 (Migrated from gitlab.com)

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

Release notes

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

0.15.0

  • fix: Scope values should not override Event values (#446)
  • feat: Make maximum amount of spans configurable (#460)
  • feat: Add a method to start a transaction (#482)
  • feat: Extend User interface by adding Data, Name and Segment (#483)
  • feat: Add ClientOptions.SendDefaultPII (#485)
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

... (truncated)

Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.14.0 to 0.16.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-go/releases">github.com/getsentry/sentry-go's releases</a>.</em></p> <blockquote> <h2>0.15.0</h2> <ul> <li>fix: Scope values should not override Event values (<a href="https://github.com/getsentry/sentry-go/issues/446">#446</a>)</li> <li>feat: Make maximum amount of spans configurable (<a href="https://github.com/getsentry/sentry-go/issues/460">#460</a>)</li> <li>feat: Add a method to start a transaction (<a href="https://github.com/getsentry/sentry-go/issues/482">#482</a>)</li> <li>feat: Extend User interface by adding Data, Name and Segment (<a href="https://github.com/getsentry/sentry-go/issues/483">#483</a>)</li> <li>feat: Add ClientOptions.SendDefaultPII (<a href="https://github.com/getsentry/sentry-go/issues/485">#485</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md">github.com/getsentry/sentry-go's changelog</a>.</em></p> <blockquote> <h2>0.16.0</h2> <p>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 <code>v1.0.0</code>, we sadly had to include <strong>two breaking changes</strong> in this release.</p> <h3>Breaking Changes</h3> <ul> <li>Add <code>EnableTracing</code>, a boolean option flag to enable performance monitoring (<code>false</code> by default). <ul> <li> <p>If you're using <code>TracesSampleRate</code> or <code>TracesSampler</code>, this option is <strong>required</strong> to enable performance monitoring.</p> <pre lang="go"><code>sentry.Init(sentry.ClientOptions{ EnableTracing: true, TracesSampleRate: 1.0, }) </code></pre> </li> </ul> </li> <li>Unify TracesSampler <a href="https://github.com/getsentry/sentry-go/pull/498">#498</a> <ul> <li> <p><code>TracesSampler</code> was changed to a callback that must return a <code>float64</code> between <code>0.0</code> and <code>1.0</code>.</p> <p>For example, you can apply a sample rate of <code>1.0</code> (100%) to all <code>/api</code> transactions, and a sample rate of <code>0.5</code> (50%) to all other transactions. You can read more about this in our <a href="https://docs.sentry.io/platforms/go/configuration/filtering/#using-sampling-to-filter-transaction-events">SDK docs</a>.</p> <pre lang="go"><code>sentry.Init(sentry.ClientOptions{ TracesSampler: sentry.TracesSampler(func(ctx sentry.SamplingContext) float64 { hub := sentry.GetHubFromContext(ctx.Span.Context()) name := hub.Scope().Transaction() <pre><code> if strings.HasPrefix(name, &amp;quot;GET /api&amp;quot;) { return 1.0 } return 0.5 }), </code></pre> <p>} </code></pre></p> </li> </ul> </li> </ul> <h3>Features</h3> <ul> <li>Send errors logged with <a href="https://github.com/sirupsen/logrus">Logrus</a> to Sentry. <ul> <li>Have a look at our <a href="https://github.com/getsentry/sentry-go/blob/master/example/logrus/main.go">logrus examples</a> on how to use the integration.</li> </ul> </li> <li>Add support for Dynamic Sampling <a href="https://github.com/getsentry/sentry-go/pull/491">#491</a> <ul> <li>You can read more about Dynamic Sampling in our <a href="https://docs.sentry.io/product/data-management-settings/dynamic-sampling/">product docs</a>.</li> </ul> </li> <li>Add detailed logging about the reason transactions are being dropped. <ul> <li>You can enable SDK logging via <code>sentry.ClientOptions.Debug: true</code>.</li> </ul> </li> </ul> <h3>Bug Fixes</h3> <ul> <li>Do not clone the hub when calling <code>StartTransaction</code> <a href="https://github.com/getsentry/sentry-go/pull/505">#505</a> <ul> <li>Fixes <a href="https://github.com/getsentry/sentry-go/issues/502">#502</a></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-go/commit/1602d6caf0e7e591355d17a846b79fd7ef94a12a"><code>1602d6c</code></a> release: 0.16.0</li> <li><a href="https://github.com/getsentry/sentry-go/commit/5b9117b1368c177ff4c16b1e3fcf295d17ade1f0"><code>5b9117b</code></a> Prepare 0.16.0 (<a href="https://github.com/getsentry/sentry-go/issues/509">#509</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/1c273b29931b60b5cfde4a36970c23b8dd54bfe9"><code>1c273b2</code></a> Create an empty DSC in case there is no baggage header (<a href="https://github.com/getsentry/sentry-go/issues/510">#510</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/c63acf9745fa0a018e3a4a53a7d677ceebdaacc7"><code>c63acf9</code></a> feat: Add support for Dynamic Sampling (<a href="https://github.com/getsentry/sentry-go/issues/491">#491</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/5dbb801bac766bc8338d00bc3c43b45c5ec50f95"><code>5dbb801</code></a> fix: Do not clone the hub inside StartTransaction (<a href="https://github.com/getsentry/sentry-go/issues/505">#505</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/c5a9734b7c2d502db91a5d3e4eb5859dedc331b9"><code>c5a9734</code></a> ref: Unify TracesSampler (<a href="https://github.com/getsentry/sentry-go/issues/498">#498</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/014331ce1b8d0cf39816bdb234c4e7d1de323a14"><code>014331c</code></a> Update README.md (<a href="https://github.com/getsentry/sentry-go/issues/504">#504</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/b31dec1f53a6e0b4b51a6a905793675223828d56"><code>b31dec1</code></a> Add logrus support (<a href="https://github.com/getsentry/sentry-go/issues/471">#471</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/4880d1d8bfe7664d8b5219729c405b13dd108b3f"><code>4880d1d</code></a> docs: Update changelog (<a href="https://github.com/getsentry/sentry-go/issues/495">#495</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/46b93cff79da408aedeeea6db6a1dd2401b942cd"><code>46b93cf</code></a> Merge branch 'release/0.15.0'</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-go/compare/v0.14.0...v0.16.0">compare view</a></li> </ul> </details> <br /> --- <details> <summary>Dependabot commands</summary> <br /> You can trigger Dependabot actions by commenting on this MR - `$dependabot rebase` will rebase this MR - `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts </details>
argoyle commented 2022-12-16 13:40:50 +00:00 (Migrated from gitlab.com)

added 2 commits

  • 93162e03 - 1 commit from branch main
  • 162a29d2 - chore(deps): bump github.com/getsentry/sentry-go from 0.14.0 to 0.16.0

Compare with previous version

added 2 commits <ul><li>93162e03 - 1 commit from branch <code>main</code></li><li>162a29d2 - chore(deps): bump github.com/getsentry/sentry-go from 0.14.0 to 0.16.0</li></ul> [Compare with previous version](/unboundsoftware/schemas/-/merge_requests/6/diffs?diff_id=559441736&start_sha=f2432244545a9b1353245ef794df4faa1ab71e98)
argoyle commented 2022-12-16 13:48:26 +00:00 (Migrated from gitlab.com)

added 2 commits

  • 658305e6 - 1 commit from branch main
  • cce67637 - chore(deps): bump github.com/getsentry/sentry-go from 0.14.0 to 0.16.0

Compare with previous version

added 2 commits <ul><li>658305e6 - 1 commit from branch <code>main</code></li><li>cce67637 - chore(deps): bump github.com/getsentry/sentry-go from 0.14.0 to 0.16.0</li></ul> [Compare with previous version](/unboundsoftware/schemas/-/merge_requests/6/diffs?diff_id=559449418&start_sha=162a29d2d89d9c40b2d1ee7c6df39ca6eaf3c474)
argoyle commented 2022-12-16 14:29:05 +00:00 (Migrated from gitlab.com)

added 2 commits

  • 27c78d80 - 1 commit from branch main
  • c5e43bd0 - chore(deps): bump github.com/getsentry/sentry-go from 0.14.0 to 0.16.0

Compare with previous version

added 2 commits <ul><li>27c78d80 - 1 commit from branch <code>main</code></li><li>c5e43bd0 - chore(deps): bump github.com/getsentry/sentry-go from 0.14.0 to 0.16.0</li></ul> [Compare with previous version](/unboundsoftware/schemas/-/merge_requests/6/diffs?diff_id=559494230&start_sha=cce67637499341a245791268d8243fac93c8508a)
argoyle commented 2022-12-16 15:02:21 +00:00 (Migrated from gitlab.com)

added 1 commit

Compare with previous version

added 1 commit <ul><li>577ad601 - feat: add Sentry setup</li></ul> [Compare with previous version](/unboundsoftware/schemas/-/merge_requests/6/diffs?diff_id=559528441&start_sha=c5e43bd0a933ba8080cb8904c64f8780264b219f)
argoyle (Migrated from gitlab.com) scheduled this pull request to auto merge when all checks succeed 2022-12-16 15:03:22 +00:00
argoyle (Migrated from gitlab.com) merged commit into main 2022-12-16 15:09:47 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/schemas#10