This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new fb237e92889 feat(components): add Health into
observability-services-starter
fb237e92889 is described below
commit fb237e928892f1517c115ca1925be447c7810783
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Thu Nov 21 12:37:23 2024 +0100
feat(components): add Health into observability-services-starter
---
.../src/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