From 5e767dce0653661b13815c44f6c221a1bd5287e9 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Mon, 29 Apr 2024 18:40:33 +0200 Subject: [PATCH] manage ElasticsearchRestClientHealthIndicator HealthCheck (default is disabled) --- application/src/main/resources/thingsboard.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/src/main/resources/thingsboard.yml b/application/src/main/resources/thingsboard.yml index c7486c4cf3..6047bbfb16 100644 --- a/application/src/main/resources/thingsboard.yml +++ b/application/src/main/resources/thingsboard.yml @@ -1767,3 +1767,7 @@ management: exposure: # Expose metrics endpoint (use value 'prometheus' to enable prometheus metrics). include: '${METRICS_ENDPOINTS_EXPOSE:info}' + health: + elasticsearch: + # Enable the org.springframework.boot.actuate.elasticsearch.ElasticsearchRestClientHealthIndicator.doHealthCheck + enabled: "false"