tracing

package
v0.0.0-...-16b6e5b Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 16 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, zipkinHost string, zipkinPort int) (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, zipkinHost string, zipkinPort int) (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, zipkinHost string, zipkinPort int) (reporter.Reporter, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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