Documentation ¶
Overview ¶
Package tracing provides utilities for creating a tracer to use within Mixer commands (mixc, mixs). It provides basic methods for configuring export options for generated traces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*tracingOpts)
Option is a function that configures Mixer self-tracing options.
func WithJaegerHTTPCollector ¶
WithJaegerHTTPCollector configures Mixer tracing to export span data to a jaeger HTTP collector at the supplied URL using HTTP Basic Authentication.
func WithLogger ¶
func WithLogger() Option
WithLogger configures Mixer tracing to log span data to the console.
func WithZipkinCollector ¶
WithZipkinCollector configures Mixer tracing to export span data to a zipkin collector at the supplied URL.
Click to show internal directories.
Click to hide internal directories.