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

Okhttp tracing support #38

Merged
merged 3 commits into from
Dec 14, 2021
Merged

Okhttp tracing support #38

merged 3 commits into from
Dec 14, 2021

Conversation

OlgaMaciaszek
Copy link
Collaborator

Fixes gh-36.

@Configuration
@ConditionalOnClass(TraceContext.class)
@ConditionalOnBean({ CurrentTraceContext.class, HttpClientHandler.class })
@ConditionalOnProperty(value = "okhttp.tracing.enabled", havingValue = "true", matchIfMissing = true)
Copy link
Contributor

Choose a reason for hiding this comment

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

In general all spring related projects should have spring. prefix.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That's right; I did it this way, cause there were other existing properties prefixed like this, but I'll convert all of them in a separate PR.

Copy link

@Buzzardo Buzzardo left a comment

Choose a reason for hiding this comment

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

Two broad rules that we try to follow: Avoid "via" (part of our initiative to avoid Latin terms) and remove "out of the box" (because it rarely adds any information).

Thanks.

docs/src/main/asciidoc/spring-cloud-square.adoc Outdated Show resolved Hide resolved
@OlgaMaciaszek OlgaMaciaszek merged commit 49ff8e3 into main Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Spring Cloud Sleuth integration
4 participants