2

Is it possible to visualize JFR events on chart? Sure I can browse them in log section but I'd like to visiualize them on chart also.

A good example would be "Machine total" attribute from "CPU Load" event.

If it is possible how to achieve it?

user3364192
  • 3,783
  • 2
  • 21
  • 30

1 Answers1

2

Use the Designer View:

  • Window -> Show View -> Designer (Unsupported)
  • Open a JFR file
  • Go to the appropriate tab
  • Click the red stop button in the designer view
  • Use context menus in either the editor view or designer view to modify the existing GUI
  • Use the designer view and New Group or New tab to add new GUI (close and reopen the JFR file to view the new tab structure)

This is both unsupported and undocumented, but is however how the standard JFR GUI is built. I'm trying to find an online video where either I or someone else has demoed this..

(Your example with "Machine total" is already visualized though, both on General/Overview and Threads/Overview)

Good luck!

Klara
  • 2,935
  • 22
  • 19
  • Thanks a lot! Did not know about this feature. General tab contains "Machine Total" in terms of CPU not load which are two completly differnet values. – user3364192 Apr 04 '16 at 11:04
  • Found a video where this is demoed by my colleague Marcus Hirt - https://vimeo.com/98922031, starts at 40:50 into the video. – Klara Apr 05 '16 at 08:23