|
|
@ -15,8 +15,6 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
package io.seata.server.metrics;
|
|
|
|
package io.seata.server.metrics;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import io.seata.config.ConfigurationFactory;
|
|
|
|
import io.seata.config.ConfigurationFactory;
|
|
|
|
import io.seata.core.constants.ConfigurationKeys;
|
|
|
|
import io.seata.core.constants.ConfigurationKeys;
|
|
|
|
import io.seata.metrics.exporter.Exporter;
|
|
|
|
import io.seata.metrics.exporter.Exporter;
|
|
|
@ -25,6 +23,8 @@ import io.seata.metrics.registry.Registry;
|
|
|
|
import io.seata.metrics.registry.RegistryFactory;
|
|
|
|
import io.seata.metrics.registry.RegistryFactory;
|
|
|
|
import io.seata.server.event.EventBusManager;
|
|
|
|
import io.seata.server.event.EventBusManager;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Metrics manager for init
|
|
|
|
* Metrics manager for init
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -36,7 +36,7 @@ public class MetricsManager {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static final MetricsManager get() {
|
|
|
|
public static final MetricsManager get() {
|
|
|
|
return MetricsManager.SingletonHolder.INSTANCE;
|
|
|
|
return SingletonHolder.INSTANCE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private Registry registry;
|
|
|
|
private Registry registry;
|
|
|
|