Search in sources :

Example 1 with SlowInvocationLogger

use of org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger in project java-chassis by ServiceComb.

the class MetricsBootListener method onAfterRegistry.

@Override
public void onAfterRegistry(BootEvent event) {
    slowInvocationLogger = new SlowInvocationLogger(event.getScbEngine());
    metricsBootstrap.start(new GlobalRegistry(), EventManager.getEventBus());
}
Also used : GlobalRegistry(org.apache.servicecomb.foundation.metrics.registry.GlobalRegistry) SlowInvocationLogger(org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger)

Example 2 with SlowInvocationLogger

use of org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger in project incubator-servicecomb-java-chassis by apache.

the class MetricsBootListener method onAfterRegistry.

@Override
public void onAfterRegistry(BootEvent event) {
    slowInvocationLogger = new SlowInvocationLogger(event.getScbEngine());
    metricsBootstrap.start(new GlobalRegistry(), EventManager.getEventBus());
}
Also used : GlobalRegistry(org.apache.servicecomb.foundation.metrics.registry.GlobalRegistry) SlowInvocationLogger(org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger)

Aggregations

GlobalRegistry (org.apache.servicecomb.foundation.metrics.registry.GlobalRegistry)2 SlowInvocationLogger (org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger)2