Integrate jfr-analytics #788
Labels
feat
New feature or request
help wanted
Extra attention is needed
question
Further information is requested
https://github.com/moditect/jfr-analytics
Gunnar's JFR Analytics project looks quite interesting - it allows for using a JDBC connection to open a JFR file as if it were a SQL database, and queries can then be performed against tables representing event types (event attributes are columns and event occurrences are rows).
This would make it much easier for us to implement a broad and powerful collection of prepared statements for server-side querying of JFR events - it's quicker, easier, and more robust for us to write SQL prepared statements than to implement functions performing the same functionality. Combined with #495 we can expose an API that allows clients to perform analysis of ex. longest GC pause across each of all replicas of a service, or average heap allocation size, etc.
Some subset of the prepared statements could also be cherry-picked and curated to form a proper Cryostat Dashboard view that does not need to call out to the jfr-datasource and Grafana to transform and visualize the data. Instead, we can run some queries against the JFR data pulled from the target and directly visualize the results client-side using something like c3.js.
The text was updated successfully, but these errors were encountered: