> On May 13, 2015, at 6:47 PM, David Karlsen <[email protected]> wrote:
> 
> Are there any docs on the metrics feature?
> I found it here:
> https://github.com/apache/cxf/tree/master/rt/features/metrics
> Seems like no namespace support, so I just declare a bean with MetricsFeature
> into the bus? Is there a way to inject an instance of the metricsRegistry
> (which I have from https://github.com/ryantenney/metrics-spring) into it so
> that all metrics are placed into the same registry?

The throttling sample in the distribution shows some of this in Java code:

https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob;f=distribution/src/main/release/samples/throttling/src/main/java/demo/throttling/server/Server.java;h=aa722cff987f74ea7db69837fb19a0230a15aadd;hb=c2cb4435267c2347deb3dc12944f0615457692ad


For the most part, if you have a bean of type MetricRegistry in the spring 
context, it should be picked up automatically.


Dan




> 
> 2015-05-06 22:20 GMT+02:00 Daniel Kulp <[email protected]>:
> 
>> The Apache CXF community is proud to announce that CXF 3.1.0 has been
>> released.
>> 
>> CXF 3.1.0 contains several new features:
>> 
>> * Optional enhancements to generated code to better support Java 7/8
>> * New Metrics capabilities for collecting metrics about CXF services
>> * New Throttling features for throttling access
>> * New Logging capabilities
>> * Better support for SSO for JAX-RS services
>> * Updates to use OpenSAML 3.x for SAML support
>> * Update to support Jetty 9.x
>> 
>> 
>> For a more complete list of changes required to migrate to CXF 3.1, see:
>> http://cxf.apache.org/docs/31-migration-guide.html
>> 
>> Downloads are available from:
>> http://cxf.apache.org/download.html
>> 
>> For more information see:
>> * Website: http://cxf.apache.org/
>> * Mailing lists: http://cxf.apache.org/mailing-lists.html
>> 
>> If you have feedback, questions or would like to get involved in the CXF
>> project please join the mailing lists and let us know your thoughts.
>> 
>> The Apache CXF Team
>> http://cxf.apache.org/
>> 
>> 
> 
> 
> -- 
> --
> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to