The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.18.0.
This release contains initial support for OpenTelemetry and various other bug fixes and improvements.
Note: This is the last release supporting Go 1.17.
Features
Initial support for OpenTelemetry.
You can now send all your OpenTelemetry spans to Sentry.
Install the otel module
go get github.com/getsentry/sentry-go \
github.com/getsentry/sentry-go/otel
// Set up the Sentry span processor
tp := sdktrace.NewTracerProvider(
sdktrace.WithSpanProcessor(sentryotel.NewSentrySpanProcessor()),
// ...
)
otel.SetTracerProvider(tp)
// Set up the Sentry propagator
otel.SetTextMapPropagator(sentryotel.NewSentryPropagator())
You can read more about using OpenTelemetry with Sentry in our docs.
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.18.0.
This release contains initial support for OpenTelemetry and various other bug fixes and improvements.
Note: This is the last release supporting Go 1.17.
Features
Initial support for OpenTelemetry.
You can now send all your OpenTelemetry spans to Sentry.
Install the otel module
go get github.com/getsentry/sentry-go \
github.com/getsentry/sentry-go/otel
// Set up the Sentry span processor
tp := sdktrace.NewTracerProvider(
sdktrace.WithSpanProcessor(sentryotel.NewSentrySpanProcessor()),
// ...
)
otel.SetTracerProvider(tp)
// Set up the Sentry propagator
otel.SetTextMapPropagator(sentryotel.NewSentryPropagator())
You can read more about using OpenTelemetry with Sentry in our docs.
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.17.0 to 0.18.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.18.0</h2>
<p>The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.18.0.
This release contains initial support for <a href="https://opentelemetry.io/">OpenTelemetry</a> and various other bug fixes and improvements.</p>
<p><strong>Note</strong>: This is the last release supporting Go 1.17.</p>
<h3>Features</h3>
<ul>
<li>
<p>Initial support for <a href="https://opentelemetry.io/">OpenTelemetry</a>.
You can now send all your OpenTelemetry spans to Sentry.</p>
<p>Install the <code>otel</code> module</p>
<pre lang="bash"><code>go get github.com/getsentry/sentry-go \
github.com/getsentry/sentry-go/otel
</code></pre>
<p>Configure the Sentry and OpenTelemetry SDKs</p>
<pre lang="go"><code>import (
"go.opentelemetry.io/otel"
sdktrace "go.opentelemetry.io/otel/sdk/trace"
"github.com/getsentry/sentry-go"
"github.com/getsentry/sentry-go/otel"
// ...
)
<p>// Initlaize the Sentry SDK
sentry.Init(sentry.ClientOptions{
Dsn: "<strong>DSN</strong>",
EnableTracing: true,
TracesSampleRate: 1.0,
})</p>
<p>// Set up the Sentry span processor
tp := sdktrace.NewTracerProvider(
sdktrace.WithSpanProcessor(sentryotel.NewSentrySpanProcessor()),
// ...
)
otel.SetTracerProvider(tp)</p>
<p>// Set up the Sentry propagator
otel.SetTextMapPropagator(sentryotel.NewSentryPropagator())
</code></pre></p>
<p>You can read more about using OpenTelemetry with Sentry in our <a href="https://docs.sentry.io/platforms/go/performance/instrumentation/opentelemetry/">docs</a>.</p>
</li>
</ul>
<h3>Bug Fixes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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.18.0</h2>
<p>The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.18.0.
This release contains initial support for <a href="https://opentelemetry.io/">OpenTelemetry</a> and various other bug fixes and improvements.</p>
<p><strong>Note</strong>: This is the last release supporting Go 1.17.</p>
<h3>Features</h3>
<ul>
<li>
<p>Initial support for <a href="https://opentelemetry.io/">OpenTelemetry</a>.
You can now send all your OpenTelemetry spans to Sentry.</p>
<p>Install the <code>otel</code> module</p>
<pre lang="bash"><code>go get github.com/getsentry/sentry-go \
github.com/getsentry/sentry-go/otel
</code></pre>
<p>Configure the Sentry and OpenTelemetry SDKs</p>
<pre lang="go"><code>import (
"go.opentelemetry.io/otel"
sdktrace "go.opentelemetry.io/otel/sdk/trace"
"github.com/getsentry/sentry-go"
"github.com/getsentry/sentry-go/otel"
// ...
)
<p>// Initlaize the Sentry SDK
sentry.Init(sentry.ClientOptions{
Dsn: "<strong>DSN</strong>",
EnableTracing: true,
TracesSampleRate: 1.0,
})</p>
<p>// Set up the Sentry span processor
tp := sdktrace.NewTracerProvider(
sdktrace.WithSpanProcessor(sentryotel.NewSentrySpanProcessor()),
// ...
)
otel.SetTracerProvider(tp)</p>
<p>// Set up the Sentry propagator
otel.SetTextMapPropagator(sentryotel.NewSentryPropagator())
</code></pre></p>
<p>You can read more about using OpenTelemetry with Sentry in our <a href="https://docs.sentry.io/platforms/go/performance/instrumentation/opentelemetry/">docs</a>.</p>
</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/4b97c8e66159e9da864d79c502e4cbf59eb38031"><code>4b97c8e</code></a> release: 0.18.0</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/79724631e3ad22e2c3a167dfa13936e4e4a6d5d0"><code>7972463</code></a> fix(release): Bump root module version in submodules (<a href="https://github.com/getsentry/sentry-go/issues/576">#576</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/612c16704968c81c84c2479cd9d74b4373a0e62a"><code>612c167</code></a> fix(build): Tidy otel submodule (<a href="https://github.com/getsentry/sentry-go/issues/575">#575</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/3ec394335539ae0d0de0e87c012c5a845ce8849f"><code>3ec3943</code></a> doc: Prepare 0.18.0 (<a href="https://github.com/getsentry/sentry-go/issues/572">#572</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/bb6e2bdbf0d32bf4645ab8a29fed6f3183ddfee7"><code>bb6e2bd</code></a> fix(otel): Use vendored bagggage implementation in propagator (<a href="https://github.com/getsentry/sentry-go/issues/573">#573</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/3964ecefd0682870f9e1891cf85231db52be6c07"><code>3964ece</code></a> fix(baggage): Update baggage parsing and encoding in vendored otel package (#...</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/ef3a838eef937b2d67445dbe70a3fae83e4ec718"><code>ef3a838</code></a> test: Add Codecov configuration file (<a href="https://github.com/getsentry/sentry-go/issues/569">#569</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/de904d6e9788a7e2c165bd4ec4dec06ea43c38b5"><code>de904d6</code></a> fix(otel): Require otel 1.11.0 and higher (<a href="https://github.com/getsentry/sentry-go/issues/567">#567</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/d0a2aa3ebdba03d70bf5228c585cae1f2a800424"><code>d0a2aa3</code></a> fix: Create a frozen DSC when calling ToBaggage (<a href="https://github.com/getsentry/sentry-go/issues/566">#566</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/fb7618028bababd9197569610a87e59bdacb037e"><code>fb76180</code></a> release: Update .craft.yml to be ready for otel submodule release (<a href="https://github.com/getsentry/sentry-go/issues/565">#565</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-go/compare/v0.17.0...v0.18.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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps github.com/getsentry/sentry-go from 0.17.0 to 0.18.0.
Release notes
Sourced from github.com/getsentry/sentry-go's releases.
... (truncated)
Changelog
Sourced from github.com/getsentry/sentry-go's changelog.
... (truncated)
Commits
4b97c8erelease: 0.18.07972463fix(release): Bump root module version in submodules (#576)612c167fix(build): Tidy otel submodule (#575)3ec3943doc: Prepare 0.18.0 (#572)bb6e2bdfix(otel): Use vendored bagggage implementation in propagator (#573)3964ecefix(baggage): Update baggage parsing and encoding in vendored otel package (#...ef3a838test: Add Codecov configuration file (#569)de904d6fix(otel): Require otel 1.11.0 and higher (#567)d0a2aa3fix: Create a frozen DSC when calling ToBaggage (#566)fb76180release: Update .craft.yml to be ready for otel submodule release (#565)Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebasewill rebase this MR$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflictsCodecov Report
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more