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 b34b7a3a37d feat(observability): default logging metrics on shutdown
b34b7a3a37d is described below

commit b34b7a3a37d05225a8268c08e885e023b14352d0
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Tue Mar 3 09:14:10 2026 +0100

    feat(observability): default logging metrics on shutdown
---
 .../src/main/resources/config/application.properties                   | 3 +++
 1 file changed, 3 insertions(+)

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 3a5a9da6014..f77ad7c8433 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
@@ -20,6 +20,9 @@ management.server.port=9876
 management.endpoints.web.exposure.include=health,prometheus
 management.endpoints.web.base-path=/observe
 management.endpoints.web.path-mapping.prometheus=metrics
+# Metrics
+camel.metrics.log-metrics-on-shutdown=true
+camel.metrics.log-metrics-on-shutdown-filters=app.info,camel.exchanges.*
 # Opentelemetry
 camel.opentelemetry2.enabled=true
 # Health

Reply via email to