Tips on using the RequestId from API GW as the TraceIdentifier? #1147
-
It seems that API GW creates a I'm using Serilog with json formatting, if that matters. I'm not sure to open this as an issue/feature-request, or if there is some other resolution. EDIT: I've tried manipulating the the EDIT: I also tried setting the EDIT EDIT: I think I understand why the RequestId is different. It appears that the initial request comes into the lambda, which then bootstraps the aspnet host context, which then handles the request, creating a new RequestId. If I use EDIT EDIT EDIT: So, disregard part of above. Using the
The first is the
So I suppose I want one of the following options... I'm wondering if this should become a feature request issue? I see a few desirable features:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@brendonparker Thanks for raising the feature request #1147 and starting the discussion. The said feature request needs to be reviewed by team. I'm unsure if there is currently a way to change this mapping. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the great feature request. I like the idea of having the As far as customization goes in the older style of writing ASP.NET Core Lambda functions you used to be able to override methods from a base class to customize the marshalling between API Gateway and ASP.NET Core. That ability got lost in the new approach using the |
Beta Was this translation helpful? Give feedback.
-
Closing this QA and will continue the conversation on actual feature request feature. |
Beta Was this translation helpful? Give feedback.
Closing this QA and will continue the conversation on actual feature request feature.
#1148