You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-core has a ReportRuleEvalEvent JFR event that that we should be able to capture from sidecar report generators. The best way to do this should be something similar to what we do in main Cryostat with the cryostat.jfc template. Using the Profiling template provided by the JDK in the base image of this project, extend the template by adding an event definition for the ReportRuleEvalEvent. That updated template definition should be added to this project somewhere under src/main/resources, and the build configuration updated so that the event template file is copied into the built OCI image in the correct filesystem location.
This can probably be accomplished with the Maven assembly plugin, as seen here:
The setup will vary somewhat however since main Cryostat uses Jib to build the OCI image, but here in -reports we use the quarkus docker image build plugin.
-core
has aReportRuleEvalEvent
JFR event that that we should be able to capture from sidecar report generators. The best way to do this should be something similar to what we do in main Cryostat with thecryostat.jfc
template. Using the Profiling template provided by the JDK in the base image of this project, extend the template by adding an event definition for theReportRuleEvalEvent
. That updated template definition should be added to this project somewhere undersrc/main/resources
, and the build configuration updated so that the event template file is copied into the built OCI image in the correct filesystem location.This can probably be accomplished with the Maven assembly plugin, as seen here:
https://github.com/cryostatio/cryostat/blob/main/src/assembly/dist.xml
https://github.com/cryostatio/cryostat/blob/7361dfee2ed32920171ca6219406c94086d5f436/pom.xml#L894
The setup will vary somewhat however since main Cryostat uses Jib to build the OCI image, but here in -reports we use the quarkus docker image build plugin.
cryostat-reports/pom.xml
Line 45 in 3237998
The text was updated successfully, but these errors were encountered: