newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
202 stars 144 forks source link

DT headers added too late for Feign #249

Closed jodeev closed 2 years ago

jodeev commented 3 years ago

Feign (from Spring Cloud Finchley.SR1) appears to be altering the codepath a generated request takes and causes our auto-injection of DT headers to fail.

Description:

Test app showing this issue included here: https://newrelic.zendesk.com/agent/tickets/442571

https://newrelic.aha.io/ideas/ideas/JAVA-I-1001

gustavodaquino commented 2 years ago

The problem persists using the following versions:

org.springframework.boot:2.6.10
com.newrelic.agent.java:newrelic-api:7.6.0
org.springframework.cloud:spring-cloud-starter-openfeign:3.1.3
io.github.openfeign:feign-httpclient:11.8

Regards.

kford-newrelic commented 2 years ago

@gustavodaquino any chance you have a sample app that reproduces the problem that you can share with us?

kford-newrelic commented 2 years ago

Unfortunately, we do not have the engineering bandwidth to further investigate this issue.

jasonjkeller commented 1 year ago

I believe this issue should actually be fixed in Java agent 8.0.1 by https://github.com/newrelic/newrelic-java-agent/pull/1145