@ThreadSafe public class ServiceMetricCollectorSupport extends ServiceMetricCollector
RequestMetricCollector
ServiceMetricCollector.Factory
NONE
Modifier and Type | Method and Description |
---|---|
void |
collectByteThroughput(ByteThroughputProvider provider)
Collects metrics on the number of bytes written or read and the respective
duration.
|
void |
collectLatency(ServiceLatencyProvider provider)
Collects metrics for non-request specific latencies.
|
isEnabled
public void collectByteThroughput(ByteThroughputProvider provider)
ServiceMetricCollector
collectByteThroughput
in class ServiceMetricCollector
public void collectLatency(ServiceLatencyProvider provider)
ServiceMetricCollector
collectLatency
in class ServiceMetricCollector