Hi Sumedha, you can use the ESB documentation at [1]. You can get important system information as mentioned in [2].
Ex: You can extract the system time at the start and end of the API and send them to BAM such that you can use those values to calculate the response time. [1]. http://docs.wso2.org/display/ESB480/BAM+Mediator [2] http://docs.wso2.org/display/ESB480/Synapse+Message+Context+Properties On Fri, Feb 14, 2014 at 7:04 PM, Sumedha Kodithuwakku <[email protected]>wrote: > Hi Chanaka, > > Thanks for the quick response. > > Will first try with BAM Mediator. Is there a sample configuration that I > can use which extracts important data..? > > Thanks > SumedhaS > > > On Fri, Feb 14, 2014 at 4:56 PM, Chanaka Fernando <[email protected]>wrote: > >> Hi Sumedha, >> >> Currently ESB is not publishing the statistics for REST APIs defined in >> it. One way is to use the BAM mediator as you mentioned. That will not have >> a considerable impact on the response time but you need to use it >> carefully. You need to publish all the required data with a single BAM >> mediator. Otherwise it will be a performance hit. We experienced the same >> in one of our client engagement. >> >> Another alternative is to define sequences for APIs and monitor them from >> the BAM mediation data publisher. >> >> >> Thanks, >> Chanaka >> >> >> On Fri, Feb 14, 2014 at 5:25 PM, Sumedha Kodithuwakku <[email protected] >> > wrote: >> >>> Hi all, >>> >>> Is there a way to enable statistics for REST APIs in ESB. ? >>> >>> For proxy services, sequences etc we can enable statistics and publish >>> them to BAM. AFAIU only way to do this for APIs is to use the BAM Mediator. >>> Is there any other way to achieve this >>> >>> Will this have a significant impact on the API response time/ >>> perfomance.? >>> >>> Thanks >>> SumedhaS >>> -- >>> *Sumedha Kodithuwakku* >>> Software Engineer >>> WSO2 Inc. : wso2.com >>> lean . enterprise . middleware >>> >>> Email: [email protected]; Mobile: +94 71 808 1124 | +1 602 388 0160 >>> Blog: http://sumedhask.blogspot.com/ >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> -- >> Chanaka Fernando >> Technical Lead >> WSO2, Inc.; http://wso2.com >> lean.enterprise.middleware >> >> mobile: +94 773337238 >> Blog : http://soatutorials.blogspot.com >> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 >> Twitter:https://twitter.com/chanakaudaya >> Wordpress:http://chanakaudaya.wordpress.com >> >> >> >> > > > -- > *Sumedha Kodithuwakku* > Software Engineer > WSO2 Inc. : wso2.com > lean . enterprise . middleware > > Email: [email protected]; Mobile: +94 71 808 1124 | +1 602 388 0160 > Blog: http://sumedhask.blogspot.com/ > > -- -- Chanaka Fernando Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
