Add support for Spring Boot 4
I can see following exception when running latest java agent on Spring Boot 4 running java 25.
java.lang.NoSuchMethodError: 'boolean org.springframework.http.HttpHeaders.containsKey(java.lang.Object)'
at co.elastic.apm.agent.resttemplate.SpringRestRequestHeaderSetter.setHeader(SpringRestRequestHeaderSetter.java:30)````
I am very interested by this enhancement! Currently, I can't use Elastic APM agent on my Spring Boot 4 applications, that is really an issue for my application and my company. And some other applications do not migrate to Spring Boot 4, until Elastic APM agent is compatible.
This should be supported by our EDOT agent
@jackshirazi I just found on https://www.elastic.co/docs/solutions/observability/get-started/other-tutorials/tutorial-monitor-java-application info
We recommend using the [Elastic Distribution of OpenTelemetry (EDOT) Java SDK](https://www.elastic.co/docs/reference/opentelemetry/edot-sdks/java/setup) as the
preferred way to instrument your Java application. The EDOT Java SDK provides OpenTelemetry-based instrumentation and can send telemetry data to Elastic.
is this the case that for new integrations EDOT is preferred choice?
Sadly EDOT is not a drop in replacement when runtime attach of the agent is necessary/preferred; in a JRE environment the Elastic APM Agent can attach while the EDOT agent cannot; so in that regard there is no feature parity
Is there a plan when this can be released? We would also like to finish the spring boot update with a compatible APM agent.
Same here, we would also like to use spring boot 4 with the APM agent.