I am creation Gadget for WSO2 BAM dashboard. I need to add the data to the chart that gives service of monitored server as result. How can I make this data as values of charts?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The standard way to follow is,
- You need to first expose this data through a service. Ex: Can be done through a data service with WSO2 DSS, a back end carbon component on top of WSO2 Carbon, or just any web service
- Then, write a gadget to consume this service. Reference: gadget tutorial
PS. There is a new BAM that will make all these things extremely easy, without having to write code. It should be available towards the end of the year.
回答2:
You can use the BAM2 alpha2 available in here for generating gadgets according to your requirement. It is now much easier to generate a gadget with drag and drop gadget IDE comes with BAM2.
You can find more information from documentation
回答3:
This is available using GadgetGen tool feature under latest BAM version