Hello Team,
I am trying to implement the below feature in a Quarkus application
The version of Quarkus is 3.8.5 as mentioned in the support document. JDK version 21 , dynatrace-native-maven-plugin version is 2.0.1.
It is rest based application which makes a call towards oracle database.
What we see is that during the native complie the dynatrace binaries are not getting attached, due to which the agent is not running when we deploy the application in Openshift.
The --native-agent-path path is not getting set during the build time. Had anyone integrated dynatrace-native-maven-plugin with Quarkus application ?
I need some pointers to debug this issue.
<plugin>
<groupId>com.dynatrace.buildtools.graalnative</groupId>
<artifactId>dynatrace-native-maven-plugin</artifactId>
<version>2.0.1</version>
<executions>
<execution>
<id>setup-agent</id>
<phase>generate-resources</phase>
<goals>
<goal>setup-build-agent</goal>
<goal>copy-runtime-agent</goal>
</goals>
<configuration>
<agentDownload>
<environmentUrl>masked</environmentUrl>
<apiToken>masked</apiToken>
</agentDownload>
<agentOptions>loglevelcon=info,agentconfigpath=src/main/resources/agent.json</agentOptions>
</configuration>
</execution>
</executions>
<extensions>true</extensions>
</plugin>