简体   繁体   中英

ESB Service Statistics Monitoring using wso2BAM, toolbox have no data

I am using wso2BAM 2.4.1 with wso2ESB 4.6, I first edited the

/repository/conf/etc/bam.xml

file and enabled the ServiceDataPublishing feature. Then I setup the BAM Service Data Pblishing feature from the repository on the ESB. After I configured the Service Data Pblishing and my job on the esb got done.

I used the Cassandra Explorer and saw the logs are saving to the Cassandra under the stream name I set in the ESB Service Data Pblishing configurations.

Everything went well till I installed the Service_Statistics_Monitoring toolbox to view data about services and real-time request and response counts.

Since the stream name in the Service_Statistics_Monitoring and Service data Publishing are the same (both are bam_service_data_publisher ) I got error in the esb logs for sending data to BAM. I change the stream name in the ESB and the data publishing error gone but still I can not see any data be shown on the dashboard with the Service_Statistics_Monitoring toolbox and it has errors of no data found like the picture below. I have to mention that data is still published to BAM and saved in a table with the new stream name.

在此处输入图片说明

I resolved the problem! the fact is you should be careful about the version of your stream in ESB and BAM! The stream name of the Service_Statistics_Monitoring Toolbox and bam streams in ESB, AS and other wso2 products should be the same if you want to see the results in the toolbox dashboard, but you should change the version of the streams, the Service_Statistics_Monitoring Toolbox occupies the 1.0.0 version so you have to change the version of other bam streams that you want to monitor using the toolbox.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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