Comments (5)
Thanks for the additional input! We're going to add an overload to the ContinueTrace
that accepts the headers as strings.
from sentry-dotnet.
@bruno-garcia I haven't gotten around to testing it, but it sounds like it should be exactly what I needed. Thanks.
from sentry-dotnet.
Thanks for raising this. Fair point. That's an oversight but I'm not sure how to proceed here yet.
I'd like to avoid making the HttpContextExtensions
methods public. I think we should rather provide overloads to the ContinueTrace
to consume the headers more generically i.e. letting the SDK extract them from the System.Web.HttpContext
and Microsoft.AspNetCore.Http
.
from sentry-dotnet.
i.e. letting the SDK extract them from the
System.Web.HttpContext
andMicrosoft.AspNetCore.Http
.
I don't think that would help in my case, because I'm trying to set up tracing for a transport that isn't HTTP (in my case it's Service Fabric TCP transport). I took inspiration from https://github.com/getsentry/sentry-dotnet/blob/3.36.0/src/Sentry.AspNetCore/SentryTracingMiddleware.cs, and on the transmitting side I can use BaggageHeader.ToString(), but there's nothing available on the receiving side. For comparison, SentryTraceHeader.Parse is public.
from sentry-dotnet.
@j2ghz did this change resolve it for you? #2601
from sentry-dotnet.
Related Issues (20)
- Native iOS/Cocoa options naming - 4.0.0-beta.3 HOT 4
- Move LogCat prop to SentryOptions
- Set ip_address to {{auto}} by default, even if sendDefaultPII is disabled HOT 1
- Add In Foreground to App context HOT 4
- SDK Backpressure and 100% Sampling
- Log4Net integration should filter SDK logs
- MAUI MacCatalyst Apps have a `default.profraw` generated inside the .app bundle when the app exits HOT 17
- Spotlight support
- Failed to extract body. HOT 2
- The `Hub` should resolve the SentryClient in a consistent way
- Add Distributed Tracing to the ASP.NET Core Documentation HOT 1
- Ui Component Crash When Sentry is Initialized HOT 2
- Send frame `filename` including project root HOT 1
- Sentry ASP.NET Core configuration issue with Serilog HOT 2
- Device tests in CI should have diagnostic logging in output or attachment
- consolidate exception position in logger callbacks
- NoMobile sln including mobile targets HOT 6
- Replace SdkVersion from reflection to source generator
- No line numbers in local development HOT 2
- The `System.ObjectDisposed` exception is thrown when applying clipping to an element in MAUI HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-dotnet.