Skip to content

Commit 08ad733

Browse files
renovate[bot]otelbot[bot]songy23
authored
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` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgetsentry%2fsentry-go/v0.47.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgetsentry%2fsentry-go/v0.46.2/v0.47.0?slim=true) | --- > [!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 [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;1325](https://redirect.github.com/getsentry/sentry-go/pull/1325) - remove deprecated`otel.NewSentrySpanProcessor`. Users should now use the `sentryotlp.NewTraceExporter` instead by [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;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 [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;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 [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;1302](https://redirect.github.com/getsentry/sentry-go/pull/1302) ##### New Features ✨ - Add fiber v3 integration by [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;1324](https://redirect.github.com/getsentry/sentry-go/pull/1324) - Bump fasthttp from 1.51.0 to 1.71.0 by [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;1324](https://redirect.github.com/getsentry/sentry-go/pull/1324) - Add sentrysql SQL tracing integration by [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;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 [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;1326](https://redirect.github.com/getsentry/sentry-go/pull/1326) - Bump github.com/stretchr/testify from 1.8.4 to 1.11.1 by [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;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 [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;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 [@&#8203;dependabot](https://redirect.github.com/dependabot) in [#&#8203;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 [@&#8203;dependabot](https://redirect.github.com/dependabot) in [#&#8203;1316](https://redirect.github.com/getsentry/sentry-go/pull/1316) - Bump actions/checkout from 6.0.2 to 6.0.3 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [#&#8203;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 [@&#8203;dependabot](https://redirect.github.com/dependabot) in [#&#8203;1317](https://redirect.github.com/getsentry/sentry-go/pull/1317) - Bump getsentry/craft from 2.26.2 to 2.26.6 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [#&#8203;1318](https://redirect.github.com/getsentry/sentry-go/pull/1318) - Bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [#&#8203;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 [@&#8203;dependabot](https://redirect.github.com/dependabot) in [#&#8203;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 [@&#8203;dependabot](https://redirect.github.com/dependabot) in [#&#8203;1301](https://redirect.github.com/getsentry/sentry-go/pull/1301) - Bump getsentry/craft from 2.25.2 to 2.26.2 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [#&#8203;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 [@&#8203;dependabot](https://redirect.github.com/dependabot) in [#&#8203;1294](https://redirect.github.com/getsentry/sentry-go/pull/1294) ##### Other - (otel) Remove unused semconv helpers by [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;1321](https://redirect.github.com/getsentry/sentry-go/pull/1321) - Update bump-version script to also bump crosstest by [@&#8203;giortzisg](https://redirect.github.com/giortzisg) in [#&#8203;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

File tree

exporter/sentryexporter/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentry
33
go 1.25.0
44

55
require (
6-
github.com/getsentry/sentry-go v0.46.2
6+
github.com/getsentry/sentry-go v0.47.0
77
github.com/google/go-cmp v0.7.0
88
github.com/open-telemetry/opentelemetry-collector-contrib/internal/sharedcomponent v0.154.0
99
github.com/stretchr/testify v1.11.1
@@ -29,7 +29,7 @@ require (
2929
github.com/Microsoft/go-winio v0.6.2 // indirect
3030
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
3131
github.com/cespare/xxhash/v2 v2.3.0 // indirect
32-
github.com/davecgh/go-spew v1.1.1 // indirect
32+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3333
github.com/felixge/httpsnoop v1.0.4 // indirect
3434
github.com/foxboron/go-tpm-keyfiles v0.0.0-20251226215517-609e4778396f // indirect
3535
github.com/fsnotify/fsnotify v1.10.1 // indirect
@@ -52,7 +52,7 @@ require (
5252
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5353
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
5454
github.com/pierrec/lz4/v4 v4.1.27 // indirect
55-
github.com/pmezard/go-difflib v1.0.0 // indirect
55+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
5656
github.com/rs/cors v1.11.1 // indirect
5757
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
5858
go.opentelemetry.io/collector/client v1.60.1-0.20260612191519-af182d232650 // indirect

exporter/sentryexporter/go.sum

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)