jaegerexporter

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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