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
As described in the README, native image builds of cryostat-reports need to fully exercise the rules report generator code paths. This means the JFR file used needs to contain events of all types that are checked for by any of the rule implementations in the JMC version used by cryostat-reports, which is dictated by the cryostat-core version.
Using Cryostat's ALL meta-template and running a recording on a target for a while almost does the trick:
Can these event types be explicitly created and committed in application code to ensure they appear in the flight recording? If so, the "full-featured" recording could be created by a simple Java program that simply launches, starts a recording on itself, creates and commits events of each required kind (all the ones processed by rules - can we enumerate these from JMC classes so they aren't hardcoded, too?), then dumps the recording to a file and exits. This could then be hooked into the Maven toolchain for native builds of this project.
As described in the README, native image builds of cryostat-reports need to fully exercise the rules report generator code paths. This means the JFR file used needs to contain events of all types that are checked for by any of the rule implementations in the JMC version used by cryostat-reports, which is dictated by the cryostat-core version.
Using Cryostat's
ALL
meta-template and running a recording on a target for a while almost does the trick:all.jfr.zip (ZIP containing a single .jfr file)
This was collected by running the
ALL
meta-template for 5 minutes.overview.html.txt (HTML report document renamed to .txt so GitHub will allow it to be uploaded...)
Some of the rules are still ignored and code paths therefore unexecuted.
The text was updated successfully, but these errors were encountered: