Commit 08ad733
Update module github.com/getsentry/sentry-go to v0.47.0 (#49113)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/getsentry/sentry-go](https://redirect.github.com/getsentry/sentry-go)
| `v0.46.2` → `v0.47.0` |

|

|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/20907) for more information.
---
### Release Notes
<details>
<summary>getsentry/sentry-go (github.com/getsentry/sentry-go)</summary>
###
[`v0.47.0`](https://redirect.github.com/getsentry/sentry-go/releases/tag/v0.47.0):
0.47.0
[Compare
Source](https://redirect.github.com/getsentry/sentry-go/compare/v0.46.2...v0.47.0)
##### Breaking Changes 🛠
- Fix `transaction_info` source getting set incorrectly across HTTP
middleware integrations (http, fasthttp, fiber). Users should now expect
traces to properly get grouped with their parameterized path.
Transactions in affected integrations may regroup after upgrading. by
[@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1325](https://redirect.github.com/getsentry/sentry-go/pull/1325)
- remove deprecated`otel.NewSentrySpanProcessor`. Users should now use
the `sentryotlp.NewTraceExporter` instead by
[@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1307](https://redirect.github.com/getsentry/sentry-go/pull/1307)
```go
// Before
sentry.Init(sentry.ClientOptions{Dsn: dsn, EnableTracing: true,
TracesSampleRate: 1.0})
tp := sdktrace.NewTracerProvider(
sdktrace.WithSpanProcessor(sentryotel.NewSentrySpanProcessor()),
)
otel.SetTextMapPropagator(sentryotel.NewSentryPropagator())
otel.SetTracerProvider(tp)
// After:
sentry.Init(sentry.ClientOptions{
Dsn: dsn, EnableTracing: true, TracesSampleRate: 1.0,
Integrations: func(i []sentry.Integration) []sentry.Integration {
return append(i, sentryotel.NewOtelIntegration())
},
})
exporter, _ := sentryotlp.NewTraceExporter(ctx, dsn)
tp := sdktrace.NewTracerProvider(sdktrace.WithBatcher(exporter))
otel.SetTracerProvider(tp)
```
- Enable logs by default to skip double allow behavior. Enabling logs
now happens once when setting up either `sentry.NewLogger` or any
supported integration. Also the EnableLogs flag changes to DisableLogs
for a global override switch by
[@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1306](https://redirect.github.com/getsentry/sentry-go/pull/1306)
- Remove the `ContextifyFrames` integration. The recommended way to add
source context is
[SCM](https://docs.sentry.io/integrations/source-code-mgmt/source-context/)
by [@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1302](https://redirect.github.com/getsentry/sentry-go/pull/1302)
##### New Features ✨
- Add fiber v3 integration by
[@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1324](https://redirect.github.com/getsentry/sentry-go/pull/1324)
- Bump fasthttp from 1.51.0 to 1.71.0 by
[@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1324](https://redirect.github.com/getsentry/sentry-go/pull/1324)
- Add sentrysql SQL tracing integration by
[@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1305](https://redirect.github.com/getsentry/sentry-go/pull/1305)
- Supports multiple integration paths depending on how your app opens
database connections: `sentrysql.Open(...)`, `sentrysql.OpenDB(...)`,
and wrapped drivers/connectors for custom setups.
- Database metadata is not inferred in every setup. If the database name
is not discoverable automatically, pass
`sentrysql.WithDatabaseName(...)` so spans are populated correctly.
- Example:
```go
// Simple driver-based setup
db, err := sentrysql.Open("sqlite", ":memory:",
sentrysql.WithDatabaseSystem(sentrysql.SystemSQLite),
sentrysql.WithDatabaseName("main"),
)
```
##### Internal Changes 🔧
##### Deps
- Sync go.work by
[@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1326](https://redirect.github.com/getsentry/sentry-go/pull/1326)
- Bump github.com/stretchr/testify from 1.8.4 to 1.11.1 by
[@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1326](https://redirect.github.com/getsentry/sentry-go/pull/1326)
- Bump github.com/google/go-cmp from 0.5.9 to 0.7.0 by
[@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1326](https://redirect.github.com/getsentry/sentry-go/pull/1326)
- Bump getsentry/github-workflows from
[`71588dd`](https://redirect.github.com/getsentry/sentry-go/commit/71588ddf95134f804e82c5970a8098588e2eaecd)
to
[`c802283`](https://redirect.github.com/getsentry/sentry-go/commit/c802283cd9075b7a2b7a32655019c21c21676e34)
by [@​dependabot](https://redirect.github.com/dependabot) in
[#​1314](https://redirect.github.com/getsentry/sentry-go/pull/1314)
- Bump actions/create-github-app-token from 3.0.0 to 3.2.0 by
[@​dependabot](https://redirect.github.com/dependabot) in
[#​1316](https://redirect.github.com/getsentry/sentry-go/pull/1316)
- Bump actions/checkout from 6.0.2 to 6.0.3 by
[@​dependabot](https://redirect.github.com/dependabot) in
[#​1313](https://redirect.github.com/getsentry/sentry-go/pull/1313)
- Bump getsentry/craft/.github/workflows/changelog-preview\.yml from
2.26.2 to 2.26.6 by
[@​dependabot](https://redirect.github.com/dependabot) in
[#​1317](https://redirect.github.com/getsentry/sentry-go/pull/1317)
- Bump getsentry/craft from 2.26.2 to 2.26.6 by
[@​dependabot](https://redirect.github.com/dependabot) in
[#​1318](https://redirect.github.com/getsentry/sentry-go/pull/1318)
- Bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 by
[@​dependabot](https://redirect.github.com/dependabot) in
[#​1315](https://redirect.github.com/getsentry/sentry-go/pull/1315)
- Bump github.com/gofiber/fiber/v2 from 2.52.12 to 2.52.13 in /fiber by
[@​dependabot](https://redirect.github.com/dependabot) in
[#​1300](https://redirect.github.com/getsentry/sentry-go/pull/1300)
- Bump github.com/gofiber/fiber/v2 from 2.52.12 to 2.52.13 in /crosstest
by [@​dependabot](https://redirect.github.com/dependabot) in
[#​1301](https://redirect.github.com/getsentry/sentry-go/pull/1301)
- Bump getsentry/craft from 2.25.2 to 2.26.2 by
[@​dependabot](https://redirect.github.com/dependabot) in
[#​1293](https://redirect.github.com/getsentry/sentry-go/pull/1293)
- Bump getsentry/craft/.github/workflows/changelog-preview\.yml from
2.25.2 to 2.26.2 by
[@​dependabot](https://redirect.github.com/dependabot) in
[#​1294](https://redirect.github.com/getsentry/sentry-go/pull/1294)
##### Other
- (otel) Remove unused semconv helpers by
[@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1321](https://redirect.github.com/getsentry/sentry-go/pull/1321)
- Update bump-version script to also bump crosstest by
[@​giortzisg](https://redirect.github.com/giortzisg) in
[#​1327](https://redirect.github.com/getsentry/sentry-go/pull/1327)
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- "on tuesday"
- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4yMTkuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIxOS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
Co-authored-by: Yang Song <songy23@users.noreply.github.com>1 parent 6a49d1a commit 08ad733
2 files changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments