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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitProductionZipkin

func InitProductionZipkin(serviceName, zipkinHost string, zipkinPort int) (reporter.Reporter, error)

func InitSampleZipkin

func InitSampleZipkin(serviceName, zipkinHost string, zipkinPort int) (reporter.Reporter, error)

func InitTestingZipkin

func InitTestingZipkin(serviceName, zipkinHost string, zipkinPort int) (reporter.Reporter, error)

func InitTracer

func InitTracer() (io.Closer, error)

Use Zap logger to print out spans. Use a Prometheus registerer to expose metrics.

func SampleManualInitTracer

func SampleManualInitTracer(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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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