Skip to content

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Oct 3, 2024

Resolves #12393
Also removes unused code.

@laurit laurit requested a review from a team as a code owner October 3, 2024 15:42
import org.apache.hc.core5.http.ProtocolVersion;

final class ApacheHttpClient5Request {
public final class ApacheHttpClient5Request {
Copy link
Member

Choose a reason for hiding this comment

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

We should perhaps add Javadoc?

}

@Nullable
public InetSocketAddress getServerSocketAddress() {
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems many methods in this class was copied from other version modules, delete them together? such as

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this method is used in 4.3 instrumentation

@laurit laurit merged commit 8b4979f into open-telemetry:main Oct 7, 2024
56 checks passed
@laurit laurit deleted the apache5-request branch October 7, 2024 13:05
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.

Can't add custom AttributeExtractor to io.opentelemetry.instrumentation.apachehttpclient.v5_2.ApacheHttpClient5Telemetry

4 participants