Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can configure the following options on ZipkinEventNotifier:

OptionDefaultDescription

clientServiceMappings

 

Sets the client service mappings that matches Camel events to the given Zipkin service name.
The content is a Map<String, String> where the key is a pattern and the value is the service name.
The pattern uses the rules from Intercept.

excludePatterns

 

Sets exclude pattern(s) that will disable tracing with Zipkin for Camel messages that matches the pattern.
The content is a Set<String> where the key is a pattern. The pattern uses the rules from Intercept.

includeMessageBody

false

Whether to include the Camel message body in the Zipkin traces.

This is not recommended for production usage, or when having big payloads. You can limit the size by configuring the max debug log size

includeMessageBodyStreams

false

Whether to include message bodies that are stream based in the Zipkin traces.
This requires enabling stream caching on the routes or globally on the CamelContext.
This is not recommended for production usage, or when having big payloads. You can limit the size by configuring the max debug log size 

rate

1.0f

Configures a rate that decides how many events should be traced by Zipkin.

The rate is expressed as a percentage (1.0f = 100%, 0.5f is 50%, 0.1f is 10%).

serverServiceMappings

 

Sets the server service mappings that matches Camel events to the given Zipkin service name.

The content is a Map<String, String> where the key is a pattern and the value is the service name.

The pattern uses the rules from Intercept.

serviceName

 

To use a global service name that matches all Camel events

spanCollector

 

Mandatory: The collector to use for sending Zipkin span events to the Zipkin server.

Example

To enable camel-zipkin you need to configure first

...