Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestTracingTrait ¶ added in v1.10.0
type TestTracingTrait = tracingTrait
Expose tracingTrait type for testing.
type Trait ¶ added in v1.10.0
type Trait struct { traitv1.Trait `property:",squash" json:",inline"` // Enables automatic configuration of the trait, including automatic discovery of the tracing endpoint. Auto *bool `property:"auto" json:"auto,omitempty"` // The name of the service that publishes tracing data (defaults to the integration name) ServiceName string `property:"service-name" json:"serviceName,omitempty"` // The target endpoint of the OpenTracing service (automatically discovered by default) Endpoint string `property:"endpoint" json:"endpoint,omitempty"` // The sampler type (default "const") SamplerType *string `property:"sampler-type" json:"samplerType,omitempty"` // The sampler specific param (default "1") SamplerParam *string `property:"sampler-param" json:"samplerParam,omitempty"` }
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.
+camel-k:trait=tracing.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.