Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachCobraFlags ¶
AttachCobraFlags attaches a set of Cobra flags to the given Cobra command.
This command attaches the necessary set of flags to expose a CLI to let the user control all tracing options.
Types ¶
type Options ¶
type Options struct { // URL of zipkin collector (example: 'http://zipkin:9411/api/v1/spans'). This enables tracing for Mixer itself. ZipkinURL string // URL of jaeger HTTP collector (example: 'http://jaeger:14268/api/traces?format=jaeger.thrift'). This enables tracing for Mixer itself. JaegerURL string // Whether or not to emit trace spans as log records. LogTraceSpans bool }
Options defines the set of options supported by Istio's component tracing package.
func (*Options) TracingEnabled ¶
TracingEnabled returns whether the given options enable tracing to take place.
Click to show internal directories.
Click to hide internal directories.