You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an ASP.NET Core application and I want to add an annotation to the trace of each request flowing through this application and I wonder what's the best approach.
My first idea would be to use the Startup constructor but I'm not sure if that would work.
Ideally, it would be nice if UseXRay had an overload that accepted a delegate of type Action<HttpContext, AWSXRayRecorder> for this kind of configuration (unless there is a better approach).
I have an ASP.NET Core application and I want to add an annotation to the trace of each request flowing through this application and I wonder what's the best approach.
My first idea would be to use the
Startup
constructor but I'm not sure if that would work.Alternatively, I was considering adding an extra step in the pipeline add the snippet below in the
Configure
methodIdeally, it would be nice if
UseXRay
had an overload that accepted a delegate of typeAction<HttpContext, AWSXRayRecorder>
for this kind of configuration (unless there is a better approach).The text was updated successfully, but these errors were encountered: