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 ddfecac6a64 feat(components): add Opentelemetry into
observability-services-starter
ddfecac6a64 is described below
commit ddfecac6a64f32763d6d592c6505b66b33e71c85
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Tue Nov 19 11:50:02 2024 +0100
feat(components): add Opentelemetry into observability-services-starter
---
components-starter/camel-observability-services-starter/pom.xml | 4 ++++
.../src/main/resources/config/application.properties | 2 ++
2 files changed, 6 insertions(+)
diff --git a/components-starter/camel-observability-services-starter/pom.xml
b/components-starter/camel-observability-services-starter/pom.xml
index c76cf59c6ff..df6282929b3 100644
--- a/components-starter/camel-observability-services-starter/pom.xml
+++ b/components-starter/camel-observability-services-starter/pom.xml
@@ -41,6 +41,10 @@
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-opentelemetry-starter</artifactId>
+ </dependency>
<!--START OF GENERATED CODE-->
<dependency>
<groupId>org.apache.camel.springboot</groupId>
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 54d7e37e996..f94e6fd716b 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
@@ -19,3 +19,5 @@
management.endpoints.web.exposure.include=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