[英]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 我将wso2BAM 2.4.1与wso2ESB 4.6结合使用,我首先编辑了
/repository/conf/etc/bam.xml /repository/conf/etc/bam.xml
file and enabled the ServiceDataPublishing feature. 文件并启用ServiceDataPublishing功能。 Then I setup the BAM Service Data Pblishing
feature from the repository on the ESB. 然后,从ESB上的存储库设置BAM Service Data Pblishing
功能。 After I configured the Service Data Pblishing
and my job on the esb got done. 在配置了Service Data Pblishing
,我在esb上的工作就完成了。
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. 我使用了Cassandra Explorer,并看到日志以我在ESB Service Data Pblishing
配置中设置的流名称保存到Cassandra。
Everything went well till I installed the Service_Statistics_Monitoring
toolbox to view data about services and real-time request and response counts. 一切顺利,直到我安装了Service_Statistics_Monitoring
工具箱以查看有关服务的数据以及实时请求和响应计数。
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. 由于Service_Statistics_Monitoring
和Service data Publishing
中的流名称相同(均为bam_service_data_publisher
),因此在esb日志中将数据发送到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. 我在ESB中更改了流名称,但数据发布错误消失了,但是仍然无法通过Service_Statistics_Monitoring
工具箱看到任何数据显示在仪表板上,并且没有数据错误,如下图所示。 I have to mention that data is still published to BAM and saved in a table with the new stream name. 我不得不提到,数据仍然会发布到BAM,并以新的流名称保存在表中。
I resolved the problem! 我解决了问题! the fact is you should be careful about the version of your stream in ESB and BAM! 事实是您应该注意ESB和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. 如果要在工具箱仪表板中查看结果,则ESB,AS和其他wso2产品中Service_Statistics_Monitoring Toolbox
的流名称和bam流应相同,但应更改流的版本, Service_Statistics_Monitoring Toolbox
使用1.0 .0版本,因此您必须使用工具箱更改要监视的其他bam流的版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.