Feature Idea: Instrumentation support for OkHTTP 4.0

When using OkHTTP 3.14.1 and NewRelic Java Agent 5.3.0, we can see these calls in the External Transactions view in New Relic. If we upgrade to OkHTTP 4.0.x, we can no longer see these calls.

OkHTTP 4 involved converting their codebase from Java to Kotlin. They claimed to maintain binary compatibility, but did make some methods final that were not previously final.

https://square.github.io/okhttp/upgrading_to_okhttp_4/


New Relic Edit

  • I want this too
  • I have more info to share (reply below)
  • I have a solution for this

0 voters

We take feature ideas seriously and our product managers review every one when plotting their roadmaps. However, there is no guarantee this feature will be implemented. This post ensures the idea is put on the table and discussed though. So please vote and share your extra details with our team.

1 Like

Hey @dan.watt - I’ll get your OkHTTP 4 request sent to our Java agent team. I’ve got a poll added here for others to vote on too :slight_smile:

Support for OkHttp 4.0 was added in Java Agent 5.4.0.

https://docs.newrelic.com/docs/release-notes/agent-release-notes/java-release-notes/java-agent-540