简体   繁体   English

Hawt.io如何在折线图中显示堆的使用情况?

[英]Hawt.io How to show Heap usage in a line graph?

Hawt.io dashboard default shows a donut chart for Heap use. Hawt.io仪表板默认显示一个供堆使用的甜甜圈图。 Its nice, but I want to add a line graph to plot Heap usage over time. 很好,但我想添加一个折线图以绘制随时间变化的堆使用情况。 Tried to chart this from the JMX tab but can't graph just the used attribute. 试图从“ JMX”选项卡中绘制图表,但不能仅绘制已使用属性的图表。 Anyone know how to do this or should I file a bug? 任何人都知道该怎么做还是应该提交错误?

Currently there's a one-to-one mapping between an MBean attribute and the available dashboard widget type. 当前,MBean属性与可用的仪表板小部件类型之间存在一对一的映射。 Donut chart is the only available widget type for the heap memory usage. 甜甜圈图是堆内存使用的唯一可用窗口小部件类型。
https://github.com/hawtio/hawtio/blob/hawtio-1.5.6/hawtio-web/src/main/webapp/app/jmx/js/widgetRepository.ts#L47 https://github.com/hawtio/hawtio/blob/hawtio-1.5.6/hawtio-web/src/main/webapp/app/jmx/js/widgetRepository.ts#L47

You can file an enhancement request for expanding the available widgets for attributes. 您可以提交增强请求,以扩展属性的可用窗口小部件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM