Hi, During last couple of days I was implementing an Analytics Dashboard for monitoring an ESB mediation flow using WSO2 Business Activity Monitor (BAM) and thought we could implement something similar to monitor some of the key features in Stratos.
*Monitoring Autoscaling* For a given subscription the following aspects could be monitored: - Total instance count against time - Instance count in cloud partitions against time - Instance count in network partitions against time - Max/Average/Min instance count in cloud partitions - Max/Average/Min instance count in network partitions *Monitoring Load Balancing* For a given cluster the following aspects could be monitored: - Total request count against time. - Request count in cloud partitions against time. - Request count in network partitions against time. - Load distribution (Request count in each member) against time. *Monitoring Cartridge Instances* For a given subscription the following aspects could be monitored: - CPU usage in cartridge instances against time. - Memory usage in cartridge instances against time. - Load average in cartridge instances against time. (Some of these values are currently published to CEP for autoscaling purposes) *Implementation Proposal* - Need to implement data publishers in each Stratos component to publish required information to BAM. - This might not be a difficult task as we already have Apache Thrift based CEP data publishers for autoscaling decision making process and BAM data publishers for centralized logs. - Need to implement an analytical processing script using Hive, set of Jaggery scripts to fetch data and set of graphs. All of these artifacts could be packaged into a BAM Toolbox. WDYT? Appreciate your thoughts. Thanks Imesh
