[Moving to Architecture group] On Tue, Dec 15, 2015 at 3:31 PM, Nuwan Pallewela <[email protected]> wrote:
> [Moving thread to Architecture group] > > Hi Nathasha, > > Is statistics information get update per minute? > Do we have the capability to update the statistics using a refresh button > or some other way without waiting for one minute? > > It will be great if you could provide a simple diagram which describes > the design. > > Thanks, > Nuwan > > > On Tue, Dec 15, 2015 at 11:29 AM, Nathasha Naranpanawa <[email protected]> > wrote: > >> Hi all, >> >> I'm currently working on adding web application statistics monitoring >> feature to the upcoming Application Server 6.0.0. This was done in two >> iterations as following; >> >> - Adding a custom Valve to the tomcat server in order to collect data >> from the server. >> - Creating necessary CApp packages in order to define means of >> publishing data from tomcat server to DAS, receiving and storing the data. >> >> The custom tomcat Valve behaves as an Event Publisher and publishes data >> to DAS through Thrift data agent. For each request from the server, an >> Event is created including metadata and payload data and is published to >> the DAS by a DataPublisher. >> >> A CApp was created by including the definitions for an Event Stream, >> Event Receiver and Event Store to receive data from the publisher valve and >> store them. This is deployed in the >> wso2das-3.0.0/repository/deployment/server/carbonapps folder. >> >> A Spark script is also added to the CApp in order to query the data >> received by DAS. The script presents a summary of the requests received by >> DAS per minute. The summary includes the following information; >> >> - average request count >> - average response time >> - HTTP request success count >> - HTTP request error count >> >> Any suggestions and feedback are highly appreciated. >> >> Thanks, >> >> >> -- >> Nathasha Naranpanawa >> Software Engineering Intern >> WSO2 Inc. >> >> Email: [email protected] >> Mobile: +94775496142 >> LinkedIn: https://lk.linkedin.com/in/nathashanaranpanawa >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > ---------------------------------------------------------- > > *Nuwan Chamara Pallewela* > > > *Software Engineer* > > *WSO2, Inc. *http://wso2.com > *lean . enterprise . middleware* > > Email *[email protected] <[email protected]>* > Mobile *+94719079739 <%2B94719079739>@* > > > -- ---------------------------------------------------------- *Nuwan Chamara Pallewela* *Software Engineer* *WSO2, Inc. *http://wso2.com *lean . enterprise . middleware* Email *[email protected] <[email protected]>* Mobile *+94719079739 <%2B94719079739>@*
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
