tracing

package
v0.0.0-...-dd7978e Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitProductionJaeger

func InitProductionJaeger(serviceName string) (io.Closer, error)

Recommended configuration for production.

func InitProductionZipkin

func InitProductionZipkin(serviceName string) (reporter.Reporter, error)

func InitSampleJaeger

func InitSampleJaeger(serviceName string) (io.Closer, error)

Sample configuration for an easy start. Use constant sampling to sample every trace and enable LogSpan to log every span to stdout. No metrics are produced.

func InitSampleZipkin

func InitSampleZipkin(serviceName string) (reporter.Reporter, error)

func InitTestingJaeger

func InitTestingJaeger(serviceName string) (io.Closer, error)

Sample configuration for testing. Use constant sampling to sample every trace and enable LogSpan to log every span via configured Logger. Use a Prometheus registerer to expose metrics.

func InitTestingZipkin

func InitTestingZipkin(serviceName string) (reporter.Reporter, error)

func LoadZipkinConfig

func LoadZipkinConfig()

Types

This section is empty.

Jump to

Keyboard shortcuts

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