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

Add attribute extractors to auto-http instrumentations and a null check #867

Conversation

surbhiia
Copy link
Contributor

@surbhiia surbhiia commented Mar 4, 2025

  • Added attribute extractors for both the auto-http instrumentations - Okhttp3 and HttpURLConnection
  • Added null check to prevent null pointer exception if instrumenter = null in HttpURL code.
  • Update a flaky HttpURL test from giving false negative.

Tested both the extractors in my own sample app.

@surbhiia surbhiia requested a review from a team as a code owner March 4, 2025 21:40
Copy link
Contributor

@LikeTheSalad LikeTheSalad left a comment

Choose a reason for hiding this comment

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

Thank you! 🙏

@surbhiia
Copy link
Contributor Author

@breedx-splk Does this PR seem okay to be merged? Was just wondering if there was anything for me to take care on this one?

@breedx-splk breedx-splk merged commit 2d6c914 into open-telemetry:main Mar 18, 2025
6 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.

4 participants