Class KbaseHealthIndicator

java.lang.Object
com.bytedesk.kbase.config.KbaseHealthIndicator
All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

@Component public class KbaseHealthIndicator extends Object implements org.springframework.boot.actuate.health.HealthIndicator
Kbase模块健康检查 监控知识库系统相关服务:数据库、向量存储(Elasticsearch)、批处理等
  • Field Details

    • vectorStoreEnabled

      @Value("${spring.ai.vectorstore.elasticsearch.enabled:false}") private boolean vectorStoreEnabled
    • vectorStoreIndexName

      @Value("${spring.ai.vectorstore.elasticsearch.index-name:bytedesk_vector}") private String vectorStoreIndexName
    • batchJobEnabled

      @Value("${spring.batch.job.enabled:true}") private boolean batchJobEnabled
    • dataSource

      @Autowired(required=false) private DataSource dataSource
    • elasticsearchVectorStore

      @Autowired(required=false) private org.springframework.ai.vectorstore.elasticsearch.ElasticsearchVectorStore elasticsearchVectorStore
  • Constructor Details

    • KbaseHealthIndicator

      public KbaseHealthIndicator()
  • Method Details

    • health

      public org.springframework.boot.actuate.health.Health health()
      Specified by:
      health in interface org.springframework.boot.actuate.health.HealthIndicator