tracer

package
v0.0.0-...-bcfd2cf Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracer

func NewTracer(conf *Config) (*trace.Tracer, echo.MiddlewareFunc, error)

NewTracer singleton implementation returns default tracer

Types

type Config

type Config struct {
	Name     string
	Exporter Exporter
}

Config tracer configuration

type Exporter

type Exporter int

Exporter list of exporter options

const (
	// Stdout exporter to log tracing to stdout
	Stdout Exporter = iota
	// Jaeger export to send tracing to jaeger
	Jaeger
)

Jump to

Keyboard shortcuts

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