Observation

Spring Boot auto-configuration for Camel Observation.

This starter integrates Camel with Spring Boot’s ObservationAutoConfiguration, providing distributed tracing and metrics for Camel routes via the Micrometer Observation API using the Spring Boot native observation infrastructure.

Use the @CamelObservation annotation on your Spring Boot main class or configuration to enable.

Maven coordinates

<dependency>
    <groupId>org.apache.camel.springboot</groupId>
    <artifactId>camel-observation-starter</artifactId>
</dependency>

Spring Boot Auto-Configuration

The starter supports 2 options, which are listed below.

Name Description Default Type

camel.observation.encoding

Activate or deactivate dash encoding in headers (required by JMS) for messaging

Boolean

camel.observation.exclude-patterns

Sets exclude pattern(s) that will disable observability for Camel messages that matches the pattern. Multiple patterns can be separated by comma.

String