tracer

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package tracer provides support for distributed tracing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(l *log.Logger, c *Config) error

Init creates a new trace provider instance and registers it as global trace provider.

Types

type Config added in v0.3.0

type Config struct {
	ServiceName string
	ReporterURI string
	Probability float64
}

Config holds trace config properties.

Jump to

Keyboard shortcuts

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