[jbossws-issues] [JBoss JIRA] (JBWS-3733) Allow enabling/disabling endpoint metrics

Alessio Soldano (JIRA) issues at jboss.org
Thu Dec 12 12:44:32 EST 2013


    [ https://issues.jboss.org/browse/JBWS-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930896#comment-12930896 ] 

Alessio Soldano commented on JBWS-3733:
---------------------------------------

Brian wrote:

Thanks, everyone, for the input on this.

I'd like to do the following about getting configuration of these 
consistent for WF 8.0:

1) For all resources that currently expose an attribute to 
enable/disable statistics, I'll add an attribute that will be named 
"statistics-enabled". Why that?

a) it's an attribute, so it's name should reflect a state, not an action 
like, for example, "enable-statistics"
b) simply using "statistics" is shorter, but in some places that key is 
used as a child type (e.g. statistics=pool) and a resource can't have a 
child type and an attribute with the same name.

2) For compatibility, the existing attribute will be retained as an 
alias to the new one. I'll add deprecation metadata. I'll also set up 
the appropriate transformation stuff for mixed domain usage.

3) Any new stuff people do (e.g. [1], [2]), please use "statistics-enabled".

4) My intent is to make the default values for these attributes be 
"false". I won't change any default though unless the relative compoent 
lead has indicated agreement in this thread or elsewhere.

But, if you disagree with "false" as the default, please let's use this 
thread to sort that out, get input from the performance team, etc, so we 
can have at least a clear understanding of why some uses have 'true'.

Jesper, ^^^. 


That's for WF 8. For the next release I recommend that we also create 
subsystem-level attributes to hold the default value for the several 
cases where this setting is only configurable on a per-deployment level. 
An example would be the jpa subsystem could have a statistics-enabled 
attribute that drives the setting for all persistence units unless the 
PU descriptor overrides or the admin overrides using the existing 
per-deployment attribute. Besides being an aid to usability, having an 
attribute that ends up in the persistent configuration will also help 
deal with issues where, for example, the desired default for WildFly is 
different than the desired default for some future EAP release. The 
standard configs for the EAP release can just use a different value.


[1] https://issues.jboss.org/browse/JBWS-3733
[2] https://issues.jboss.org/browse/WFLY-2453
                
> Allow enabling/disabling endpoint metrics
> -----------------------------------------
>
>                 Key: JBWS-3733
>                 URL: https://issues.jboss.org/browse/JBWS-3733
>             Project: JBoss Web Services
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf, jbossws-integration
>            Reporter: Alessio Soldano
>             Fix For: jbossws-cxf-4.3
>
>
> We need to offer a mechanism for enabling/disabling endpoint metrics.
> We should probably have an element/attribute in the container DMR for enabling/disabling the metrics.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossws-issues mailing list