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

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.handler.DynamicThreadPoolBannerHandler;
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.ReportingEventExecutor;
import cn.hippo4j.starter.remote.HttpAgent;
@ -89,8 +89,8 @@ public class DynamicThreadPoolAutoConfiguration {
@Bean
@SuppressWarnings("all")
public HttpMvcSender httpMvcSender(HttpAgent httpAgent) {
return new HttpMvcSender(httpAgent);
public HttpConnectSender httpMvcSender(HttpAgent httpAgent) {
return new HttpConnectSender(httpAgent);
}
@Bean

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