Agreed with you Isuru.

Tool will only provide a short cut to enable disable stat/tracing per CAPP.
Basically, it will enable stat/tracing for each and every artifacts
(applicable).

Setting a global parameter should not be possible through a CAPP.

On Wed, Jun 22, 2016 at 1:54 PM, Isuru Udana <isu...@wso2.com> wrote:

> Hi,
>
>
> On Wed, Jun 22, 2016 at 1:45 PM, Chanaka Fernando <chana...@wso2.com>
> wrote:
>
>> Hi Viraj,
>>
>> The configuration we have in the synapse.properties file is to globally
>> enable/disable the statistics/tracing for the server. By enabling that, we
>> prepare the server to publish events to DAS server. But, if you need to
>> publish real events, you need to enable them in individual artifacts
>> (proxy, api, sequence, etc). Iranga's suggestion is to provide a global
>> parameter to enable/disable them all at once (per CAPP or at global level).
>> This is a valid requirement which a particular user might have.
>>
>> Enable/disable statistics per CAR from the tool is ok, but should we do
> the global level controlling at the tool level ?
> Enabling statics globally is a management task.
> CARs are for packaging and deployable artifacts.
> Using CARs to control global level parameters doesn't sound nice to me.
>
>
>> This will require a considerable effort to support in the current model
>> and we will not be able to support in the upcoming ESB 5.0.0 version.
>>
>> @Iranga: Please create a public JIRA and we will fix this in a future
>> release.
>>
>> Thanks,
>> Chanaka
>>
>> On Wed, Jun 22, 2016 at 12:38 PM, Viraj Rajaguru <vi...@wso2.com> wrote:
>>
>>> Hi Iranga,
>>>
>>> IIUC, requirement is to setting a global level setting with CAR files to
>>> enable event statistics publishing. As per this document[1], we need to set
>>> a property in synapse.properties file + relevant config changes in artifact
>>> files to enable statistics publishing. With CAR files we are not modifying
>>> config files such as synapse.properties. So how can we achieve this?
>>>
>>> Thanks,
>>> Viraj.
>>>
>>> [1] -
>>> https://docs.wso2.com/display/ESB500/Prerequisites+to+Publish+Statistics
>>>
>>> On Fri, Apr 29, 2016 at 12:12 PM, Iranga Muthuthanthri <ira...@wso2.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> On Fri, Apr 29, 2016 at 11:35 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>
>>>>> +1 and it make sense to do it since we are having the
>>>>> a separate analytics server for ESB.
>>>>>
>>>>> Iranga when you say global do you mean for a CAPP or for the complete
>>>>> deployment? I think you are referring to the second option.
>>>>>
>>>>
>>>> Global setting -Having it at complete deployment  , having it at the
>>>> C-App level  would also be a useful option as well IMO
>>>>
>>>>>
>>>>> On Fri, Apr 29, 2016 at 11:20 AM, Iranga Muthuthanthri <
>>>>> ira...@wso2.com> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> When creating a C-App to publish event statistics to ESB Analytics we
>>>>>> have to enable event statistics for each configuration ( proxy service,
>>>>>> API,) , would there be an option to set this at a global level?
>>>>>>
>>>>>> --
>>>>>> Thanks & Regards
>>>>>>
>>>>>> Iranga Muthuthanthri
>>>>>> (M) -0777-255773
>>>>>> Team Product Management
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Malaka Silva
>>>>> Senior Tech Lead
>>>>> M: +94 777 219 791
>>>>> Tel : 94 11 214 5345
>>>>> Fax :94 11 2145300
>>>>> Skype : malaka.sampath.silva
>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>>
>>>>> WSO2, Inc.
>>>>> lean . enterprise . middleware
>>>>> http://www.wso2.com/
>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>> https://store.wso2.com/store/
>>>>>
>>>>> Save a tree -Conserve nature & Save the world for your future. Print
>>>>> this email only if it is absolutely necessary.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks & Regards
>>>>
>>>> Iranga Muthuthanthri
>>>> (M) -0777-255773
>>>> Team Product Management
>>>>
>>>>
>>>
>>>
>>> --
>>> Viraj Rajaguru
>>> Associate Technical Lead
>>> WSO2 Inc. : http://wso2.com
>>>
>>> Mobile: +94 77 3683068
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Thank you and Best Regards,
>> Chanaka Fernando
>> Senior 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
>>
>>
>>
>>
>>
>
>
> --
> *Isuru Udana*
> Technical Lead
> WSO2 Inc.; http://wso2.com
> email: isu...@wso2.com cell: +94 77 3791887
> blog: http://mytecheye.blogspot.com/
>



-- 
Thank you and Best Regards,
Chanaka Fernando
Senior 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
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to