Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The CodahaleMetricsProvider accept additional properties which could be configured on a Bus level or factory bean level (using its setProperties mutator).

PropertyDescriptionDefault
org.apache.cxf.management.service.counter.name

The name prefix to prepend to each metric being reported

null

Integration with JAX-WS

Server

...

Alternatively, the MetricsFeature could be supplied directly to JAX-WS endpoint, for example:

Code Block
EndpointImpl endpoint = new EndpointImpl(bus, new HelloPortImpl(), null, null, new WebServiceFeature[]{

...


    new MetricsFeature(metricsProvider)

...


});

Client

The client integration is no different from the server and uses the same MetricsFeature feature.

...