public class CodahaleMetricsProvider extends Object implements MetricsProvider
Modifier and Type | Field and Description |
---|---|
protected Bus |
bus |
protected MetricRegistry |
registry |
CLIENT_ID
Constructor and Description |
---|
CodahaleMetricsProvider(Bus b) |
Modifier and Type | Method and Description |
---|---|
MetricsContext |
createEndpointContext(Endpoint endpoint,
boolean isClient,
String clientId) |
MetricsContext |
createOperationContext(Endpoint endpoint,
BindingOperationInfo boi,
boolean asClient,
String clientId) |
protected String |
escapePatternChars(String value) |
static void |
setupJMXReporter(Bus b,
MetricRegistry reg) |
protected Bus bus
protected MetricRegistry registry
public CodahaleMetricsProvider(Bus b)
public static void setupJMXReporter(Bus b, MetricRegistry reg)
public MetricsContext createEndpointContext(Endpoint endpoint, boolean isClient, String clientId)
createEndpointContext
in interface MetricsProvider
public MetricsContext createOperationContext(Endpoint endpoint, BindingOperationInfo boi, boolean asClient, String clientId)
createOperationContext
in interface MetricsProvider
Apache CXF