Hello @willemdh
You have a turnkey integration of Elastic with Quarkus using the Quarkus OpenTelemetry integration combined with the out of the box native support of the OpenTelemetry Protocol provided by Elastic APM Server.
Add the Quarkus OpenTelemetry integration executing
./mvnw quarkus:add-extension -Dextensions="opentelemetry-otlp-exporter"
Your Quarkus OpenTelemetry configuration will look like
quarkus.application.name=myservice
...
quarkus.opentelemetry.tracer.exporter.otlp.endpoint=http://elastic-apm-server.example.com:8200
quarkus.opentelemetry.tracer.exporter.otlp.headers=Authorization=Bearer my_elastic_apm_secret_token