Tracing Trait
WARNING: The Tracing trait has been deprecated in favor of the Telemetry trait.
The Tracing trait can be used to automatically publish tracing information to an OpenTracing compatible collector.
The trait is able to automatically discover the tracing endpoint available in the namespace (supports Jaeger).
The Tracing trait is disabled by default.
The Tracing trait can’t be enabled at the same time as the Telemetry trait. |
This trait is available in the following profiles: Kubernetes, Knative, OpenShift.
Configuration
Trait properties can be specified when running any integration with the CLI:
$ kamel run --trait tracing.[key]=[value] --trait tracing.[key2]=[value2] integration.yaml
The following configuration options are available:
Property | Type | Description |
---|---|---|
|
| Can be used to enable or disable a trait. All traits share this common property. |
|
| Enables automatic configuration of the trait, including automatic discovery of the tracing endpoint. |
|
| The name of the service that publishes tracing data (defaults to the integration name) |
|
| The target endpoint of the OpenTracing service (automatically discovered by default) |
|
| The sampler type (default "const") |
|
| The sampler specific param (default "1") |