Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(middleware): http middlewares order #208

Merged
merged 3 commits into from
Jun 22, 2023
Merged

Conversation

jcyamacho
Copy link

@jcyamacho jcyamacho commented Jun 22, 2023

The OpenTelemetry middleware was executed after the logger middleware, which caused the HTTP logs to be missing trace information. This PR fixes the issue by ensuring that the OpenTelemetry middleware is executed before the logger middleware.

@jcyamacho jcyamacho changed the title fix: http middlewares order fix(middleware): http middlewares order Jun 22, 2023
@jcyamacho jcyamacho requested review from a team, sabaraouf, muzfr7, javi11, prashantvnsi, mariasoul-blacklane and joserojasbl and removed request for a team June 22, 2023 08:36
@jcyamacho jcyamacho merged commit a912344 into master Jun 22, 2023
@jcyamacho jcyamacho deleted the fix-otel-http-logger branch June 22, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants