Hi Ulises,

On Wed, Mar 7, 2012 at 6:38 PM, Ulises Fasoli <[email protected]> wrote:

>  Hi,
>
> I'm using MySQL as an external database for the WSO2 DataServices
> repository and I was wondering if it was possible to have the statistics
> (request count, fault count, etc.) stored in the same database in order to
> have statistics over a large period of time (for example: the number of
> faulty requests between January 2011 and February 2011)
>

I'm afraid, we don't have built-in support to do this, we collect the
statistics using an Axis2 handler which sits in the middle of the message
flows. At [1], you can find the source code for that Axis2 module. You
could modify that component itself, to log the data into a MySQL database,
or use that as a reference to create your own Axis2 handlers to do the job.
Also, see [2] for generic information on writing handlers.

[1]
https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/components/system-statistics/org.wso2.carbon.statistics/3.2.2
[2] http://axis.apache.org/axis2/java/core/docs/modules.html

Cheers,
Anjana.

>
> Thanks in advance
>
> Ulises
>
> _______________________________________________
> User mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/user
>
>


-- 
*Anjana Fernando*
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
User mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/user

Reply via email to