We have already updated the component to ignore request comes for js, css
and images. We look at the "accept" of response header and distinguish
content type of the response. If the "accept" of the response header is
null, then we looked at request content type. This helps us to drop a lot
of unnecessary requests being published to BAM.

*G. K. S. Munasinghe
*
*Software Engineer,*
*WSO2, Inc. http://wso2.com *
*lean.enterprise.middleware.*
*
*
email: ge...@wso2.com
phone:(+94) 777911226


On Mon, Aug 12, 2013 at 3:27 PM, Kasun Gajasinghe <kas...@wso2.com> wrote:

> Hi,
>
> We have already improved the BAM Stat publisher valve to not publish
> images, css, js etc. Geeth, please update the thread with the details.
>
> Thanks,
> KasunG
>
>
>
> On Mon, Aug 12, 2013 at 3:22 PM, Shariq Muhammed <sha...@wso2.com> wrote:
>
>> On Wed, Aug 7, 2013 at 5:44 PM, Asanka Vithanage <asan...@wso2.com>wrote:
>>
>>> Hi All,
>>>
>>> With current web stat gathering implementation, when access a (web
>>> statistics enabled) web app one time, BAM Event_KS getting updated more
>>> than one time.
>>>
>>> As observed, reason is AS publishing all web request it made within a
>>> page load.
>>> So it counts all CSS,Image requests as well.
>>> Due to this showing final web statistics are not accurate IMO.
>>>
>>
>> One thing I can think of is that we can set the "requestCount" to 1 only
>> for the page (html/jsp) provided we can distinguish between the page and
>> css, images etc. Images, style sheets, script stats are useful when
>> measuring the request / response sizes ...
>>
>>
>>> Is there any possibility to improve this?  WDYT?
>>>
>>>
>>> -
>>> Asanka Vithanage
>>> Senior Software Engineer -QA
>>> Mobile: +94 0716286708
>>> Email: asan...@wso2.com
>>> WSO2 Inc. www.wso2.com
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Shariq.
>> Phone: +94 777 202 225
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Kasun Gajasinghe*
> Software Engineer;
> Development Technologies Team, WSO2 Inc.; http://wso2.com
>
>
>  ,
> *email: **kasung AT spamfree wso2.com
>
>
> ** cell: **+94 (77) 678-0813*
> *linked-in: *http://lk.linkedin.com/in/gajasinghe
>
>
> *
> *
> *blog: **http://kasunbg.org* <http://kasunbg.org>
>
>
> *
> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>
>
> *
> *
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to