tracing

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracingTrait

func NewTracingTrait() trait.Trait

NewTracingTrait --.

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"`
}

WARNING: The Tracing trait has been **deprecated** in favor of the xref:traits:telemetry.adoc[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.

WARNING: The Tracing trait can't be enabled at the same time as the Telemetry trait.

+camel-k:trait=tracing.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL