Skip to content

Commit

Permalink
Update module github.com/getsentry/sentry-go to v0.29.0 (open-telemet…
Browse files Browse the repository at this point in the history
…ry#35109)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/getsentry/sentry-go](https://redirect.github.com/getsentry/sentry-go)
| `v0.28.1` -> `v0.29.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgetsentry%2fsentry-go/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgetsentry%2fsentry-go/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgetsentry%2fsentry-go/v0.28.1/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgetsentry%2fsentry-go/v0.28.1/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>getsentry/sentry-go (github.com/getsentry/sentry-go)</summary>

###
[`v0.29.0`](https://redirect.github.com/getsentry/sentry-go/releases/tag/v0.29.0):
0.29.0

[Compare
Source](https://redirect.github.com/getsentry/sentry-go/compare/v0.28.1...v0.29.0)

The Sentry SDK team is happy to announce the immediate availability of
Sentry Go SDK v0.29.0.

##### Breaking Changes

- Remove the `sentrymartini` integration
([#&open-telemetry#8203;861](https://redirect.github.com/getsentry/sentry-go/pull/861))
- The `WrapResponseWriter` has been moved from the `sentryhttp` package
to the `internal/httputils` package. If you've imported it previosuly,
you'll need to copy the implementation in your project.
([#&open-telemetry#8203;871](https://redirect.github.com/getsentry/sentry-go/pull/871))

##### Features

- Add new convenience methods to continue a trace and propagate tracing
headers for error-only use cases.
([#&open-telemetry#8203;862](https://redirect.github.com/getsentry/sentry-go/pull/862))

If you are not using one of our integrations, you can manually continue
an incoming trace by using `sentry.ContinueTrace()` by providing the
`sentry-trace` and `baggage` header received from a downstream SDK.

    ```go
    hub := sentry.CurrentHub()
sentry.ContinueTrace(hub, r.Header.Get(sentry.SentryTraceHeader),
r.Header.Get(sentry.SentryBaggageHeader)),
    ```

You can use `hub.GetTraceparent()` and `hub.GetBaggage()` to fetch the
necessary header values for outgoing HTTP requests.

    ```go
    hub := sentry.GetHubFromContext(ctx)
    req, _ := http.NewRequest("GET", "http://localhost:3000", nil)
    req.Header.Add(sentry.SentryTraceHeader, hub.GetTraceparent())
    req.Header.Add(sentry.SentryBaggageHeader, hub.GetBaggage())
    ```

##### Bug Fixes

- Initialize `HTTPTransport.limit` if `nil`
([#&open-telemetry#8203;844](https://redirect.github.com/getsentry/sentry-go/pull/844))
- Fix `sentry.StartTransaction()` returning a transaction with an
outdated context on existing transactions
([#&open-telemetry#8203;854](https://redirect.github.com/getsentry/sentry-go/pull/854))
- Treat `Proxy-Authorization` as a sensitive header
([#&open-telemetry#8203;859](https://redirect.github.com/getsentry/sentry-go/pull/859))
- Add support for the `http.Hijacker` interface to the `sentrynegroni`
package
([#&open-telemetry#8203;871](https://redirect.github.com/getsentry/sentry-go/pull/871))
- Go version >= 1.23: Use value from `http.Request.Pattern` for HTTP
transaction names when using `sentryhttp` & `sentrynegroni`
([#&open-telemetry#8203;875](https://redirect.github.com/getsentry/sentry-go/pull/875))
- Go version >= 1.21: Fix closure functions name grouping
([#&open-telemetry#8203;877](https://redirect.github.com/getsentry/sentry-go/pull/877))

##### Misc

- Collect `span` origins
([#&open-telemetry#8203;849](https://redirect.github.com/getsentry/sentry-go/pull/849))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
  • Loading branch information
renovate[bot] and opentelemetrybot authored Sep 12, 2024
1 parent 91751e5 commit 9d7580c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/otelcontribcol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ require (
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/getsentry/sentry-go v0.28.1 // indirect
github.com/getsentry/sentry-go v0.29.0 // indirect
github.com/go-faster/city v1.0.1 // indirect
github.com/go-faster/errors v0.7.1 // indirect
github.com/go-jose/go-jose/v4 v4.0.2 // indirect
Expand Down
4 changes: 2 additions & 2 deletions cmd/otelcontribcol/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion exporter/sentryexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentry
go 1.22.0

require (
github.com/getsentry/sentry-go v0.28.1
github.com/getsentry/sentry-go v0.29.0
github.com/google/go-cmp v0.6.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.109.0
github.com/stretchr/testify v1.9.0
Expand Down
4 changes: 2 additions & 2 deletions exporter/sentryexporter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9d7580c

Please sign in to comment.