修改客户端上报服务端监控数据组件名称.

pull/28/head
chen.ma 3 years ago
parent b999c2a0e0
commit 9c4441758d

@ -9,7 +9,7 @@ import cn.hippo4j.starter.core.ThreadPoolOperation;
import cn.hippo4j.starter.enable.MarkerConfiguration; import cn.hippo4j.starter.enable.MarkerConfiguration;
import cn.hippo4j.starter.handler.DynamicThreadPoolBannerHandler; import cn.hippo4j.starter.handler.DynamicThreadPoolBannerHandler;
import cn.hippo4j.starter.handler.ThreadPoolRunStateHandler; import cn.hippo4j.starter.handler.ThreadPoolRunStateHandler;
import cn.hippo4j.starter.monitor.HttpMvcSender; import cn.hippo4j.starter.monitor.HttpConnectSender;
import cn.hippo4j.starter.monitor.MessageSender; import cn.hippo4j.starter.monitor.MessageSender;
import cn.hippo4j.starter.monitor.ReportingEventExecutor; import cn.hippo4j.starter.monitor.ReportingEventExecutor;
import cn.hippo4j.starter.remote.HttpAgent; import cn.hippo4j.starter.remote.HttpAgent;
@ -89,8 +89,8 @@ public class DynamicThreadPoolAutoConfiguration {
@Bean @Bean
@SuppressWarnings("all") @SuppressWarnings("all")
public HttpMvcSender httpMvcSender(HttpAgent httpAgent) { public HttpConnectSender httpMvcSender(HttpAgent httpAgent) {
return new HttpMvcSender(httpAgent); return new HttpConnectSender(httpAgent);
} }
@Bean @Bean

@ -17,7 +17,7 @@ import static cn.hippo4j.common.constant.Constants.MONITOR_PATH;
*/ */
@Slf4j @Slf4j
@AllArgsConstructor @AllArgsConstructor
public class HttpMvcSender implements MessageSender { public class HttpConnectSender implements MessageSender {
private final HttpAgent httpAgent; private final HttpAgent httpAgent;
Loading…
Cancel
Save