Skip to content

Conversation

@peachisai
Copy link
Contributor

@peachisai peachisai commented Oct 26, 2025

  • If this pull request closes/resolves/fixes an existing issue, replace the issue number. #13210
  • Update the CHANGES log.

@wu-sheng wu-sheng added enhancement New feature or request plugin labels Oct 26, 2025
@wu-sheng wu-sheng added this to the 9.6.0 milestone Oct 26, 2025
@peachisai
Copy link
Contributor Author

@wu-sheng It seems some Docker images are missing in other plugin test scenarios, Should I rebuild them?

@wu-sheng
Copy link
Member

About kafka image, you could refer to main repo fix.

@peachisai
Copy link
Contributor Author

@wu-sheng hi, is there any other problem with it?

@wu-sheng
Copy link
Member

wu-sheng commented Nov 1, 2025

Oops, sorry. I left this. Will review it soon.

Comment on lines 69 to 72
} else {
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, 404);
span.errorOccurred();
}
Copy link
Member

Choose a reason for hiding this comment

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

Same concern here, if there is no return, should not response code. And if there is a null expected, we should log the reason.

Copy link
Member

Choose a reason for hiding this comment

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

This seems to be not resolved? No reponse still maps to 404 response code. Is this correct?

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 seems to be not resolved? No reponse still maps to 404 response code. Is this correct?

Sry, had done

@wu-sheng
Copy link
Member

wu-sheng commented Nov 2, 2025

@wu-sheng hi, is there any other problem with it?

I have reviewed the PR, and left some comments.

@peachisai
Copy link
Contributor Author

Same concern here, if there is no return, should not response code. And if there is a null expected, we should log the reason.

hi, all above changes had been done, please take a review.


@Override
protected ClassMatch enhanceClass() {
return HierarchyMatch.byHierarchyMatch(ENHANCE_PARENT_CLASS);
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 target specific classes in JDK? I have concerned about this, which may instrument 3rd party frameworks' request implementations.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Could you target specific classes in JDK? I have concerned about this, which may instrument 3rd party frameworks' request implementations.

Replaced by the name matcher

@wu-sheng wu-sheng merged commit e43a802 into apache:main Nov 2, 2025
205 of 230 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants