Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // URL of zipkin collector (example: 'http://zipkin:9411/api/v1/spans'). ZipkinURL string // URL of jaeger HTTP collector (example: 'http://jaeger:14268/api/traces?format=jaeger.thrift'). JaegerURL string // Whether or not to emit trace spans as log records. LogTraceSpans bool // SamplingRate controls the rate at which a process will decide to generate trace spans. SamplingRate float64 }
Options defines the set of options supported by Istio's component tracing package.
func DefaultOptions ¶
func DefaultOptions() *Options
DefaultOptions returns a new set of options, initialized to the defaults
func (*Options) TracingEnabled ¶
TracingEnabled returns whether the given options enable tracing to take place.
Click to show internal directories.
Click to hide internal directories.