Skip to content

Can't create BaggageHeader for SentrySdk.ContinueTrace(), it's not public #2597

Closed

Description

Package

Sentry

.NET Flavor

.NET Core

.NET Version

7.0.0

OS

Windows

SDK Version

3.36.0

Self-Hosted Sentry Version

No response

Steps to Reproduce

  • Try using SentrySdk.ContinueTrace(), where the second parameter is BaggageHeader
  • See that there's no way to create an instance of BaggageHeader

Expected Result

I expect that BaggageHeader should have a public contructor or a public Parse/TryParse method

Actual Result

BaggageHeader doesn't have any public methods or constructors (expect an instance .ToString() method)
See: https://github.com/getsentry/sentry-dotnet/blob/3.36.0/src/Sentry/BaggageHeader.cs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions