Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate jfr-analytics #788

Open
andrewazores opened this issue Dec 29, 2021 · 0 comments
Open

Integrate jfr-analytics #788

andrewazores opened this issue Dec 29, 2021 · 0 comments
Labels
feat New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@andrewazores
Copy link
Member

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.

@andrewazores andrewazores added help wanted Extra attention is needed question Further information is requested feat New feature or request labels Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant