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

Race-safe LoggingParams #28

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Race-safe LoggingParams #28

merged 1 commit into from
Feb 17, 2025

Conversation

alternativehood
Copy link
Contributor

No description provided.

@@ -96,6 +96,7 @@ func (rt *LoggingRoundTripper) getLogger(ctx context.Context) log.FieldLogger {
}

// RoundTrip adds logging capabilities to the HTTP transport.
// Notice - external_request time is cumulative and will not be accurate if multiple concurrent requests are done
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please elaborate on what the external_request time represents and clarify its connection to middleware.LoggingParams? This additional context would help clarify its purpose.

@vasayxtx vasayxtx merged commit bd7c005 into acronis:master Feb 17, 2025
5 checks passed
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