【发布时间】:2020-05-06 18:04:29
【问题描述】:
我想禁用 Micronaut 的运行状况指示器,mi 应用程序无法检查 db 的运行状况。我正在使用 Micronaut 框架。 禁用运行状况指示器即时获取
Path Taken: new HealthMonitorTask(CurrentHealthStatus currentHealthStatus,[List healthIndicators]) --> new MongoHealthIndicator(BeanContext beanContext,[HealthAggregator healthAggregator],MongoClient[] mongoClients)````
Do you know how to disable health but without getting this error?
【问题讨论】:
-
我用
endpoints: health: enabled: false禁用了端点 helcheck 但仍然收到错误
标签: java kotlin frameworks jvm micronaut