use of org.apache.servicecomb.metrics.core.meter.EdgeMeters in project java-chassis by ServiceComb.
the class InvocationMetersInitializer method init.
@Override
public void init(GlobalRegistry globalRegistry, EventBus eventBus, MetricsBootstrapConfig config) {
Registry registry = globalRegistry.getDefaultRegistry();
consumerMeters = new ConsumerMeters(registry);
producerMeters = new ProducerMeters(registry);
edgeMeters = new EdgeMeters(registry);
eventBus.register(this);
}
use of org.apache.servicecomb.metrics.core.meter.EdgeMeters in project incubator-servicecomb-java-chassis by apache.
the class InvocationMetersInitializer method init.
@Override
public void init(GlobalRegistry globalRegistry, EventBus eventBus, MetricsBootstrapConfig config) {
Registry registry = globalRegistry.getDefaultRegistry();
consumerMeters = new ConsumerMeters(registry);
producerMeters = new ProducerMeters(registry);
edgeMeters = new EdgeMeters(registry);
eventBus.register(this);
}
Aggregations