fix(deps): update module github.com/getsentry/sentry-go to v0.18.0 #1386

Merged
konrad merged 1 commits from renovate/github.com-getsentry-sentry-go-0.x into main 2023-02-07 15:12:42 +00:00
Member

This PR contains the following updates:

Package Type Update Change
github.com/getsentry/sentry-go require minor v0.17.0 -> v0.18.0

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

getsentry/sentry-go

v0.18.0

Compare Source

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
    

    Configure the Sentry and OpenTelemetry SDKs

    import (
        "go.opentelemetry.io/otel"
        sdktrace "go.opentelemetry.io/otel/sdk/trace"
        "github.com/getsentry/sentry-go"
        "github.com/getsentry/sentry-go/otel"
        // ...
    )
    
    // Initlaize the Sentry SDK
    sentry.Init(sentry.ClientOptions{
        Dsn:              "__DSN__",
        EnableTracing:    true,
        TracesSampleRate: 1.0,
    })
    
    // 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.

Bug Fixes
  • Do not freeze the Dynamic Sampling Context when no Sentry values are present in the baggage header (#​532)
  • Create a frozen Dynamic Sampling Context when calling span.ToBaggage() (#​566)
  • Fix baggage parsing and encoding in vendored otel package (#​568)
Misc
  • Add Span.SetDynamicSamplingContext() (#​539)
  • Add various getters for Dsn (#​540)
  • Add SpanOption::SpanSampled (#​546)
  • Add Span.SetData() (#​542)
  • Add Span.IsTransaction() (#​543)
  • Add Span.GetTransaction() method (#​558)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) | require | minor | `v0.17.0` -> `v0.18.0` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>getsentry/sentry-go</summary> ### [`v0.18.0`](https://github.com/getsentry/sentry-go/releases/tag/v0.18.0) [Compare Source](https://github.com/getsentry/sentry-go/compare/v0.17.0...v0.18.0) 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](https://opentelemetry.io/) and various other bug fixes and improvements. **Note**: This is the last release supporting Go 1.17. ##### Features - Initial support for [OpenTelemetry](https://opentelemetry.io/). You can now send all your OpenTelemetry spans to Sentry. Install the `otel` module ```bash go get github.com/getsentry/sentry-go \ github.com/getsentry/sentry-go/otel ``` Configure the Sentry and OpenTelemetry SDKs ```go import ( "go.opentelemetry.io/otel" sdktrace "go.opentelemetry.io/otel/sdk/trace" "github.com/getsentry/sentry-go" "github.com/getsentry/sentry-go/otel" // ... ) // Initlaize the Sentry SDK sentry.Init(sentry.ClientOptions{ Dsn: "__DSN__", EnableTracing: true, TracesSampleRate: 1.0, }) // 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](https://docs.sentry.io/platforms/go/performance/instrumentation/opentelemetry/). ##### Bug Fixes - Do not freeze the Dynamic Sampling Context when no Sentry values are present in the baggage header ([#&#8203;532](https://github.com/getsentry/sentry-go/pull/532)) - Create a frozen Dynamic Sampling Context when calling `span.ToBaggage()` ([#&#8203;566](https://github.com/getsentry/sentry-go/pull/566)) - Fix baggage parsing and encoding in vendored otel package ([#&#8203;568](https://github.com/getsentry/sentry-go/pull/568)) ##### Misc - Add `Span.SetDynamicSamplingContext()` ([#&#8203;539](https://github.com/getsentry/sentry-go/pull/539/)) - Add various getters for `Dsn` ([#&#8203;540](https://github.com/getsentry/sentry-go/pull/540)) - Add `SpanOption::SpanSampled` ([#&#8203;546](https://github.com/getsentry/sentry-go/pull/546)) - Add `Span.SetData()` ([#&#8203;542](https://github.com/getsentry/sentry-go/pull/542)) - Add `Span.IsTransaction()` ([#&#8203;543](https://github.com/getsentry/sentry-go/pull/543)) - Add `Span.GetTransaction()` method ([#&#8203;558](https://github.com/getsentry/sentry-go/pull/558)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yNDAuMiIsInVwZGF0ZWRJblZlciI6IjMyLjI0MC4yIn0=-->
renovate added the
dependencies
label 2023-02-07 15:01:20 +00:00
renovate added 1 commit 2023-02-07 15:01:21 +00:00
konrad scheduled this pull request to auto merge when all checks succeed 2023-02-07 15:03:58 +00:00
konrad merged commit 4a05d1a497 into main 2023-02-07 15:12:42 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1386
No description provided.