use of org.apache.servicecomb.metrics.core.meter.ProducerMeters in project incubator-servicecomb-java-chassis by apache.
the class DefaultMetricsInitializer method init.
@Override
public void init(CompositeRegistry globalRegistry, EventBus eventBus, MetricsBootstrapConfig config) {
registry = createRegistry(config);
this.consumerMeters = new ConsumerMeters(registry);
this.producerMeters = new ProducerMeters(registry);
globalRegistry.add(registry);
eventBus.register(this);
}
use of org.apache.servicecomb.metrics.core.meter.ProducerMeters 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.ProducerMeters 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