From 5596626b9f6224c213a822d94e6385e1a436fd61 Mon Sep 17 00:00:00 2001 From: Pasquale Congiusti Date: Thu, 21 Nov 2024 12:37:23 +0100 Subject: [PATCH] feat(components): add Health into observability-services-starter --- .../main/resources/config/application.properties | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/components-starter/camel-observability-services-starter/src/main/resources/config/application.properties b/components-starter/camel-observability-services-starter/src/main/resources/config/application.properties index f94e6fd716b..45d7e209494 100644 --- a/components-starter/camel-observability-services-starter/src/main/resources/config/application.properties +++ b/components-starter/camel-observability-services-starter/src/main/resources/config/application.properties @@ -16,8 +16,20 @@ ## limitations under the License. ## --------------------------------------------------------------------------- -management.endpoints.web.exposure.include=prometheus +management.endpoints.web.exposure.include=health,prometheus management.endpoints.web.base-path=/observe management.endpoints.web.path-mapping.prometheus=metrics # Opentelemetry -camel.opentelemetry.enabled=true \ No newline at end of file +camel.opentelemetry.enabled=true +# Health +camel.health.exposure-level=full +management.health.probes.enabled=true +management.health.readinessState.enabled=true +management.health.livenessState.enabled=true +management.endpoint.health.show-details=always +# /observe/health/live remap +management.endpoint.health.group.live.include=livenessState,camelLivenessState +management.endpoint.health.group.live.show-details=always +# /observe/health/ready remap +management.endpoint.health.group.ready.include=readinessState,camelReadinessState +management.endpoint.health.group.ready.show-details=always