Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Install ¶
func Install(jaegerEndpoint jaeger.EndpointOption, spanProcessor SpanProcessorFunc, opts ...trace.TracerProviderOption) (err error)
Install installs the jaeger as the tracer exporter.
func NewAgentEndpoint ¶
func NewAgentEndpoint(addr string) jaeger.EndpointOption
NewAgentEndpoint returns a new agent endpoint option with the address of the jaeger agent.
func NewCollectorEndpoint ¶
func NewCollectorEndpoint(c *http.Client, url, username, password string) jaeger.EndpointOption
NewCollectorEndpoint returns a new collector endpoint option.
Types ¶
type SpanProcessorFunc ¶
type SpanProcessorFunc func(trace.SpanExporter) trace.SpanProcessor
SpanProcessorFunc is a function to new a tracer span processor.
func BatchSpanProcessor ¶
func BatchSpanProcessor(opts ...trace.BatchSpanProcessorOption) SpanProcessorFunc
BatchSpanProcessor returns a new batch span processor.
func SimpleSpanProcessor ¶
func SimpleSpanProcessor() SpanProcessorFunc
SimpleSpanProcessor returns a new simple span processor.
Click to show internal directories.
Click to hide internal directories.