Change the monitor search adaptation module name

pull/602/head
chen.ma 2 years ago
parent 4e07cb8e5f
commit 74b7be8e64

@ -7,7 +7,7 @@
<artifactId>hippo4j-monitor</artifactId> <artifactId>hippo4j-monitor</artifactId>
<version>${revision}</version> <version>${revision}</version>
</parent> </parent>
<artifactId>hippo4j-monitor-es</artifactId> <artifactId>hippo4j-monitor-elasticsearch</artifactId>
<properties> <properties>
<elasticsearch.version>6.8.17</elasticsearch.version> <elasticsearch.version>6.8.17</elasticsearch.version>

@ -33,8 +33,7 @@ import org.springframework.core.env.Environment;
import java.util.List; import java.util.List;
/** /**
* Create by yuyang * Elastic-search client holder.
* 2022/8/4 16:26
*/ */
@Slf4j @Slf4j
public class EsClientHolder { public class EsClientHolder {

@ -46,6 +46,10 @@ import java.nio.charset.StandardCharsets;
import java.util.List; import java.util.List;
import java.util.Objects; import java.util.Objects;
import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicBoolean;
/**
* Elastic-search monitor handler.
*/
@Slf4j @Slf4j
public class EsMonitorHandler extends AbstractDynamicThreadPoolMonitor { public class EsMonitorHandler extends AbstractDynamicThreadPoolMonitor {

@ -22,8 +22,7 @@ import lombok.Getter;
import lombok.Setter; import lombok.Setter;
/** /**
* Create by yuyang * Elastic-search thread-pool run state info.
* 2022/8/4 17:17
*/ */
@Getter @Getter
@Setter @Setter

@ -12,7 +12,7 @@
<modules> <modules>
<module>hippo4j-monitor-base</module> <module>hippo4j-monitor-base</module>
<module>hippo4j-monitor-es</module> <module>hippo4j-monitor-elasticsearch</module>
<module>hippo4j-monitor-log</module> <module>hippo4j-monitor-log</module>
<module>hippo4j-monitor-prometheus</module> <module>hippo4j-monitor-prometheus</module>
</modules> </modules>

@ -7,12 +7,12 @@
<artifactId>hippo4j-spring-boot-starter-monitor</artifactId> <artifactId>hippo4j-spring-boot-starter-monitor</artifactId>
<version>${revision}</version> <version>${revision}</version>
</parent> </parent>
<artifactId>hippo4j-spring-boot-starter-monitor-es</artifactId> <artifactId>hippo4j-spring-boot-starter-monitor-elasticsearch</artifactId>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>cn.hippo4j</groupId> <groupId>cn.hippo4j</groupId>
<artifactId>hippo4j-monitor-es</artifactId> <artifactId>hippo4j-monitor-elasticsearch</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
</dependencies> </dependencies>

@ -23,7 +23,7 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
/** /**
* Es monitor auto configuration. * Elastic-search monitor auto configuration.
*/ */
@Configuration @Configuration
public class EsMonitorAutoConfiguration { public class EsMonitorAutoConfiguration {

@ -11,7 +11,7 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>hippo4j-spring-boot-starter-monitor-es</module> <module>hippo4j-spring-boot-starter-monitor-elasticsearch</module>
<module>hippo4j-spring-boot-starter-monitor-log</module> <module>hippo4j-spring-boot-starter-monitor-log</module>
<module>hippo4j-spring-boot-starter-monitor-prometheus</module> <module>hippo4j-spring-boot-starter-monitor-prometheus</module>
</modules> </modules>

Loading…
Cancel
Save